mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
230 B
D
16 lines
230 B
D
// PERMUTE_ARGS:
|
|
// REQUIRED_ARGS: -transition=tls
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
compilable/sw_transition_tls.d(11): `x` is thread local
|
|
compilable/sw_transition_tls.d(15): `y` is thread local
|
|
---
|
|
*/
|
|
|
|
int x;
|
|
|
|
struct S
|
|
{
|
|
static int y;
|
|
}
|