[test] Update ParseableInterface to ModuleInterface

Also remove uses of -emit-parseable-module-interface from tests
This commit is contained in:
Harlan Haskins
2019-09-13 14:19:56 -07:00
parent c82c9b8210
commit d3b8ce7ae2
181 changed files with 183 additions and 183 deletions

View File

@@ -0,0 +1,12 @@
// 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'
}
}