| 1 |
// PERMUTE_ARGS: |
| 2 |
// REQUIRED_ARGS: -transition=tls |
| 3 |
/* |
| 4 |
TEST_OUTPUT: |
| 5 |
--- |
| 6 |
compilable/sw_transition_tls.d(11): `x` is thread local |
| 7 |
compilable/sw_transition_tls.d(15): `y` is thread local |
| 8 |
--- |
| 9 |
*/ |
| 10 |
|
| 11 |
int x; |
| 12 |
|
| 13 |
struct S |
| 14 |
{ |
| 15 |
static int y; |
| 16 |
} |