Files
swift-mirror/test/IRGen/atomic_bool.swift
2021-01-20 08:52:07 -08:00

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
}