Files
swift-mirror/validation-test/compiler_crashers/26303-llvm-llvm-unreachable-internal.swift
2015-12-10 15:44:25 +01:00

13 lines
295 B
Swift

// RUN: not --crash %target-swift-frontend %s -emit-silgen
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/airspeedswift (airspeedswift)
struct S<T> {
var a: [T] = []
}
extension S {
init(other: [T]) {
a = other
}
}