atomic-ops.c | 101 __atomic_load(i, I, memory_order_relaxed); // expected-error {{must be a pointer to a trivially-copyable type}} 102 __atomic_load(I, i, memory_order_relaxed); // expected-warning {{passing '_Atomic(int) *' to parameter of type 'int *'}} 103 __atomic_load(I, *P, memory_order_relaxed); member in struct:s2 104 __atomic_load(I, *P, memory_order_relaxed, 42); // expected-error {{too many arguments}} member in struct:s2 105 (int)__atomic_load(I, I, memory_order_seq_cst); // expected-error {{operand of type 'void'}} 106 __atomic_load(s1, s2, memory_order_acquire);
|