54bac0ce JM |
1 | /* Test C23 attribute syntax: rejected in C11, but warning disabled |
2 | with -Wno-c11-c23-compat. */ |
092508a0 |
3 | /* { dg-do compile } */ |
54bac0ce |
4 | /* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */ |
092508a0 JM |
5 | |
6 | [[]]; |
7 | |
8 | void f [[]] (void); |