mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This disables TBD validation when C++ interop is enabled, unless an explicit `-validate-tbd-against-ir=` flag was passed. rdar://83405989 / https://github.com/apple/swift/issues/56458
10 lines
292 B
Swift
10 lines
292 B
Swift
// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-experimental-cxx-interop | %FileCheck %s
|
|
|
|
import StaticVarInitCallsFunction
|
|
|
|
public func getInitializedStaticVar() -> CInt {
|
|
return initializeStaticVar()
|
|
}
|
|
|
|
// CHECK: define {{.*}}i32 @{{_Z9incrementi|"\?increment@@YAHH@Z"}}(i32{{.*}})
|