mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
d3b8ce7ae2
Also remove uses of -emit-parseable-module-interface from tests
12 lines
335 B
Swift
12 lines
335 B
Swift
// RUN: rm -f %t
|
|
// RUN: not %target-swift-frontend -emit-module-interface-path %t -emit-module -o /dev/null %s
|
|
// RUN: test ! -f %t
|
|
// RUN: %target-swift-frontend -emit-module-interface-path %t -typecheck %s
|
|
// RUN: test -f %t
|
|
|
|
public struct BadInit {
|
|
public var x: Int
|
|
public init() {
|
|
return // without initializing 'x'
|
|
}
|
|
} |