Files
swift-mirror/validation-test/compiler_crashers/006-placeholder-property-initializer-with-closure.swift

11 lines
186 B
Swift

// RUN: not --crash %swift -emit-ir %s
// Test case submitted to project by https://github.com/AlexDenisov (Alexey Denisov)
func i(c: () -> ()) {
}
class a {
var _ = i() {
}
}