(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr62024.c
       1  /* PR c/62024 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=gnu11 -Wpedantic" } */
       4  /* { dg-require-effective-target sync_char_short } */
       5  
       6  int *p;
       7  _Static_assert (__atomic_always_lock_free (1, p), ""); /* { dg-warning "is not an integer constant" } */
       8  _Static_assert (__atomic_always_lock_free (1, 0), ""); /* { dg-warning "is not an integer constant" } */