Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
),
""
);