aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/c99-thread-local-1.c
blob: ff531252c86dee2b7818dd19a65cfac3a3eda108 (plain)
1
2
3
4
5
/* Test for _Thread_local: not in C99.  */
/* { dg-do compile } */
/* { dg-options "-std=c99 -pedantic-errors" } */

static _Thread_local int x; /* { dg-error "_Thread_local" } */