1 // We don't need to call the wrapper through the PLT; we can use a separate
2 // copy per shared object.
4 // { dg-do compile { target c++11 } }
5 // { dg-require-effective-target tls }
6 // { dg-require-effective-target fpic }
7 // { dg-options "-fPIC" }
8 // { dg-final { scan-assembler-not "_ZTW1i@PLT" { target i?86-*-* x86_64-*-* } } }
10 extern thread_local int i;