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:
11
test/ModuleInterface/stdlib.swift
Normal file
11
test/ModuleInterface/stdlib.swift
Normal file
@@ -0,0 +1,11 @@
|
||||
// RUN: %target-swift-frontend -typecheck -emit-module-interface-path - -parse-stdlib %s | %FileCheck %s
|
||||
// RUN: %target-swift-frontend -emit-module-interface-path - -emit-module -o /dev/null -parse-stdlib %s | %FileCheck %s
|
||||
|
||||
// CHECK-NOT: import Builtin
|
||||
|
||||
// CHECK: func test() {
|
||||
// CHECK-NEXT: Builtin.sizeof
|
||||
// CHECK-NEXT: {{^}$}}
|
||||
@inlinable public func test() {
|
||||
Builtin.sizeof(Builtin.Int8.self)
|
||||
}
|
||||
Reference in New Issue
Block a user