In gcc/: 2010-10-05 Nicola Pero <nicola.pero@meta-innovation.com>
[gcc.git] / gcc / testsuite / obj-c++.dg / tls / static-1a.mm
1 // { dg-skip-if "Additional Source File" *-*-* "*" "" }
2 // This is the additional source file for test static-1.mm
3
4 struct A
5 {
6 static __thread int i;
7 };
8
9 int
10 test ()
11 {
12 if (A::i != 8)
13 return 1;
14
15 A::i = 17;
16 return 0;
17 }