1 /* Test C2x thread_local keyword. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x -pedantic-errors" } */
4
5 thread_local int a;
6 thread_local void f (void); /* { dg-error "storage class" } */
1 /* Test C2x thread_local keyword. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x -pedantic-errors" } */
4
5 thread_local int a;
6 thread_local void f (void); /* { dg-error "storage class" } */