mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
417 B
Swift
12 lines
417 B
Swift
// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-experimental-cxx-interop -validate-tbd-against-ir=none | %FileCheck %s
|
|
|
|
// TODO: See why -validate-tbd-against-ir=none is needed here (SR-14069)
|
|
|
|
import StaticVarInitCallsFunction
|
|
|
|
public func getInitializedStaticVar() -> CInt {
|
|
return initializeStaticVar()
|
|
}
|
|
|
|
// CHECK: define linkonce_odr{{( dso_local)?}} i32 @{{_Z9incrementi|"\?increment@@YAHH@Z"}}(i32 %t)
|