blob: 23f2a1b5eb4dc97e88abd7c4cf5c9606382d5b24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR c++/55800
// { dg-do compile { target c++11 } }
// { dg-require-alias "" }
// { dg-require-effective-target tls }
// { dg-final { scan-assembler "_ZTH12foo_instance" { target tls_native } } }
struct foo
{
foo();
};
thread_local foo foo_instance;
|