mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
233 B
Swift
13 lines
233 B
Swift
// Check that IRGen doesn't crash. rdar://72999296
|
|
// RUN: %target-swift-emit-ir %s -I %S/Inputs
|
|
|
|
import AtomicBoolModule
|
|
|
|
public func f() -> MyAtomicBool {
|
|
return MyAtomicBool()
|
|
}
|
|
|
|
public func g(_ b: MyAtomicBool) {
|
|
let _ = b
|
|
}
|