mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
403 B
Swift
12 lines
403 B
Swift
// 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)
|
|
}
|