Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / gcc / testsuite / gcc.dg / c11-attr-syntax-1.c
blob5a3f70cd71f111ddb7f26f21f91a42dbb3656bee
1 /* Test C2x attribute syntax: rejected in C11. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11 -pedantic-errors" } */
5 [[]]; /* { dg-error "attributes before C2X" } */
7 void f [[]] (void); /* { dg-error "attributes before C2X" } */