mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-06 20:33:12 +01:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
23
tests/mini/structs5.d
Normal file
23
tests/mini/structs5.d
Normal file
@@ -0,0 +1,23 @@
|
||||
module structs5;
|
||||
|
||||
void main()
|
||||
{
|
||||
{S s = S();}
|
||||
{T t = T(1);}
|
||||
{U u = U();}
|
||||
}
|
||||
|
||||
struct S
|
||||
{
|
||||
}
|
||||
|
||||
struct T
|
||||
{
|
||||
int i;
|
||||
}
|
||||
|
||||
struct U
|
||||
{
|
||||
S s;
|
||||
long l;
|
||||
}
|
||||
Reference in New Issue
Block a user