DCD/tests/tc006/file.d

24 lines
201 B
D

struct S { int x; int y; }
S doStuff(int x) { return S(); }
void main(string[] args)
{
auto a = 10;
auto b = S(1, 2);
int c = 4;
auto d = doStuff();
{
a.
}
{
b.
}
{
c.
}
{
d.
}
}