1 /* Test C2x attribute syntax: rejected in C11.  */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11 -pedantic" } */
4 
5 [[]]; /* { dg-warning "attributes before C2X" } */
6 
7 void f [[]] (void); /* { dg-warning "attributes before C2X" } */
8