mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
186 B
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() {
|
|
}
|
|
}
|