OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:const_atomic
(Results
1 - 1
of
1
) sorted by null
/external/clang/test/Sema/
atomic-ops.c
170
const _Atomic(int)
const_atomic
;
member in struct:s2
171
__c11_atomic_init(&
const_atomic
, 0); // expected-error {{address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(int) *' invalid)}}
172
__c11_atomic_store(&
const_atomic
, 0, memory_order_release); // expected-error {{address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(int) *' invalid)}}
173
__c11_atomic_load(&
const_atomic
, memory_order_acquire); // expected-error {{address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(int) *' invalid)}}
Completed in 386 milliseconds