Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr62024.C
blob: 5f0640ac12390707b45b6713522f7bf2514a7973 [
file
] [
log
] [
blame
]
// PR c/62024
// { dg-do compile { target c++11 } }
// { dg-require-effective-target sync_char_short }
int
*
p
;
static_assert
(
__atomic_always_lock_free
(
1
,
p
),
""
);
static_assert
(
__atomic_always_lock_free
(
1
,
0
),
""
);