Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr103184-2.c
blob499761fdbfd0d70ff36b2c7ab68e838352cb1111
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 #include <stdatomic.h>
6 int
7 tbit0 (_Atomic int* a, int n)
9 #define BIT (0x1 << n)
10 return atomic_fetch_or (a, BIT) & BIT;
11 #undef BIT