comparison 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
comparison
equal deleted inserted replaced
99:a676a7743642 100:5071469303d4
1 module structs7;
2
3 pragma(LLVM_internal, "notypeinfo")
4 struct S
5 {
6 int i;
7 long l;
8 }
9
10 void main()
11 {
12 S s = void;
13 int i = s.i;
14 long l = s.l;
15 }