]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr62024.C
AArch64: Improve costing of ctz
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr62024.C
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), "");