Debian Codegraph @

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

raw
1 // PR c++/102642
2 // { dg-do compile { target c++11 } }
3
4 thread_local int *z; // { dg-message "previous declaration" }
5
6 void
7 foo ()
8 {
9 extern thread_local int z; // { dg-error "conflicting declaration" }
10 }