c: New C2x keywords
[platform/upstream/gcc.git] / gcc / testsuite / gcc.dg / c2x-thread-local-1.c
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" } */