annotate tests/mini/structs7.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/structs7.d@5071469303d4
children 44f08170f4ef
rev   line source
lindquist@100 1 module structs7;
lindquist@100 2
lindquist@100 3 pragma(LLVM_internal, "notypeinfo")
lindquist@100 4 struct S
lindquist@100 5 {
lindquist@100 6 int i;
lindquist@100 7 long l;
lindquist@100 8 }
lindquist@100 9
lindquist@100 10 void main()
lindquist@100 11 {
lindquist@100 12 S s = void;
lindquist@100 13 int i = s.i;
lindquist@100 14 long l = s.l;
lindquist@100 15 }