     var a = OpaqueUnmanagedHelper()
     CAtomicsInitialize(&a, Unmanaged.passRetained(Thing(i)).toOpaque())
 
-    let p = CAtomicsUnmanagedLockAndLoad(&a, .relaxed)
+    let p = CAtomicsUnmanagedLockAndLoad(&a)
     XCTAssertEqual(CAtomicsLoad(&a, .relaxed), UnsafeRawPointer(bitPattern: 0x7))
 
     let e = expectation(description: "swap-to-nil after unlock")

    var a = OpaqueUnmanagedHelper()
    CAtomicsInitialize(&a, Unmanaged.passRetained(Thing(i)).toOpaque())

    let p = CAtomicsUnmanagedLockAndLoad(&a, .relaxed)
    XCTAssertEqual(CAtomicsLoad(&a, .relaxed), UnsafeRawPointer(bitPattern: 0x7))

    let t = Thing(0)

    XCTAssertEqual(CAtomicsCompareAndExchange(&a, nil, u.toOpaque(), .strong, .release), true)
    XCTAssertEqual(CAtomicsCompareAndExchange(&a, nil, u.toOpaque(), .weak, .relaxed), false)

    let v = CAtomicsUnmanagedLockAndLoad(&a)
    XCTAssertNotNil(v)
    XCTAssertEqual(v, UnsafeRawPointer(u.toOpaque()))
    XCTAssertEqual(CAtomicsLoad(&a, .relaxed), UnsafeRawPointer(bitPattern: 0x7))
