blob: c92b28a3520bf6ae1bda0bcd9943d74431875751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target pie }
// { dg-options "-O2 -fpie -mtls-direct-seg-refs" }
struct string
{
__SIZE_TYPE__ length;
const char *ptr;
};
string
tempDir ()
{
thread_local string cache;
return cache;
}
|