mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
210 B
D
16 lines
210 B
D
// REQUIRED_ARGS: -o-
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail13938.d(14): Error: cannot directly load TLS variable `val`
|
|
---
|
|
*/
|
|
|
|
void test1()
|
|
{
|
|
static int val;
|
|
asm
|
|
{
|
|
mov EAX, val;
|
|
}
|
|
}
|