1 // PR c++/60702
2 // { dg-do compile { target c++11 } }
3 // { dg-add-options tls }
4 // { dg-require-alias "" }
5 // { dg-require-effective-target tls_runtime }
6 // { dg-additional-options "-fdump-tree-gimple" }
7 // { dg-final { scan-tree-dump-times "_ZTH2s1" 1 "gimple" } }
8 // { dg-final { scan-tree-dump-times "_ZTH2s2" 1 "gimple" } }
9 // { dg-final { scan-tree-dump-times "_ZTH2s3" 1 "gimple" } }
10 // { dg-final { scan-tree-dump-times "_ZTH2s4" 1 "gimple" } }
11 // { dg-final { scan-tree-dump-times "_ZTHN1T2u1E" 1 "gimple" } }
12 // { dg-final { scan-tree-dump-times "_ZTHN1T2u2E" 1 "gimple" } }
13 // { dg-final { scan-tree-dump-times "_ZTHN1T2u3E" 1 "gimple" } }
14 // { dg-final { scan-tree-dump-times "_ZTHN1T2u4E" 1 "gimple" } }
15 // { dg-final { scan-tree-dump-times "_ZTHN1T2u5E" 1 "gimple" } }
16 // { dg-final { scan-tree-dump-times "_ZTHN1T2u6E" 1 "gimple" } }
17 // { dg-final { scan-tree-dump-times "_ZTHN1T2u7E" 1 "gimple" } }
18 // { dg-final { scan-tree-dump-times "_ZTHN1T2u8E" 1 "gimple" } }
19 
20 #include "thread_local11.C"
21