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

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