mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
15 lines
302 B
Swift
15 lines
302 B
Swift
// RUN: %target-swift-emit-ir -Osize %s -enable-experimental-feature Embedded | %FileCheck %s
|
|
|
|
// REQUIRES: swift_in_compiler
|
|
// REQUIRES: optimized_stdlib
|
|
// REQUIRES: OS=macosx || OS=linux-gnu
|
|
|
|
public func foo() {
|
|
bar([42])
|
|
}
|
|
|
|
func bar(_: UnsafePointer<UInt?>) {
|
|
}
|
|
|
|
// CHECK: define {{.*}}@main(
|