repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr62024.C
blob
5f0640ac12390707b45b6713522f7bf2514a7973
1
// PR c/62024
2
// { dg-do compile { target c++11 } }
3
// { dg-require-effective-target sync_char_short }
4
5
int *p;
6
static_assert (__atomic_always_lock_free (1, p), "");
7
static_assert (__atomic_always_lock_free (1, 0), "");