(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c2x-attr-syntax-4.c
       1  /* Test C2x attribute syntax: diagnosed with -Wc11-c2x-compat.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
       4  
       5  [[]]; /* { dg-warning "attributes before C2X" } */
       6  
       7  void f [[]] (void); /* { dg-warning "attributes before C2X" } */