Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / tls / thr-init-1.c
blobde273d930aa538ae7a88c67e64bf66251edbede3
1 /* { dg-require-effective-target tls } */
2 /* { dg-do compile } */
4 static __thread int fstat ;
5 static __thread int fstat = 1 ;
6 static __thread int fstat ;
7 static __thread int fstat = 2; /* { dg-error "redefinition of 'fstat'" } */
8 /* { dg-message "note: previous definition of 'fstat' was here" "" { target *-*-* } 5 } */