aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tls/pr42894.c
blob: 2875b494c0503e964df94fd750f82db16557b469 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR target/42894 */
/* { dg-do compile } */
/* { dg-require-effective-target tls } */

extern __thread int t;

void
foo (int a)
{
  t = a;
}