mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
17 lines
150 B
D
17 lines
150 B
D
static struct S
|
|
{
|
|
union
|
|
{
|
|
int i;
|
|
long l;
|
|
}
|
|
}
|
|
|
|
int f()
|
|
{
|
|
S* r = new S();
|
|
r.i = 5;
|
|
return r.i;
|
|
}
|
|
|
|
enum X = f();
|