annotate test/structs7.d @ 100:5071469303d4 trunk

[svn r104] TONS OF FIXES. Split up declaration, constant initializer gen and definition for globals, structs, classes and functions. Improved ClassInfo support (not complete), not in vtable yet. Fixed a bunch of forward reference problems. Much more. Major commit! :)
author lindquist
date Fri, 16 Nov 2007 08:21:47 +0100
parents
children
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 }