mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[test] Update ParseableInterface to ModuleInterface
Also remove uses of -emit-parseable-module-interface from tests
This commit is contained in:
12
test/ModuleInterface/ParseStdlib.swiftinterface
Normal file
12
test/ModuleInterface/ParseStdlib.swiftinterface
Normal file
@@ -0,0 +1,12 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-module-flags: -parse-stdlib
|
||||
|
||||
// Note that the "-parse-stdlib" is picked up from the module flags. It should
|
||||
// not be written in any of the invocations below.
|
||||
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend -compile-module-from-interface -o %t/ParseStdlib.swiftmodule %s
|
||||
// RUN: %target-swift-ide-test -print-module -module-to-print ParseStdlib -I %t -source-filename x -print-interface | %FileCheck %s
|
||||
|
||||
// CHECK: func test(_: Builtin.Int42)
|
||||
public func test(_: Builtin.Int42) {}
|
||||
Reference in New Issue
Block a user