Debian Codegraph @

gcc/testsuite/g++.dg/tls/thread_local12b.C

raw
1 // PR c++/60702
2 // { dg-do run { target c++11 } }
3 // { dg-add-options tls }
4 // { dg-require-effective-target tls_runtime }
5
6 #include "thread_local11.h"
7
8 int
9 main ()
10 {
11 if (*f2 () != 42) abort ();
12 }