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; }