1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// { dg-skip-if "Additional Source File" *-*-* "*" "" } // This is the additional source file for test static-1.mm struct A { static __thread int i; }; int test () { if (A::i != 8) return 1; A::i = 17; return 0; }