mirror of
https://github.com/dlang/dmd.git
synced 2025-04-28 06:00:13 +03:00
13 lines
224 B
D
13 lines
224 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail50.d(12): Error: need `this` for address of `a`
|
|
fail_compilation/fail50.d(12): Error: variable `a` cannot be read at compile time
|
|
---
|
|
*/
|
|
|
|
struct Marko
|
|
{
|
|
int a;
|
|
int* m = &a;
|
|
}
|