mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
9 lines
110 B
D
9 lines
110 B
D
struct S { enum int x = 42; }
|
|
static S dummy;
|
|
pure int fun(int x)
|
|
{
|
|
return dummy.x + x;
|
|
}
|
|
|
|
void main()
|
|
{}
|