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