annotate tests/mini/structs7.d @ 957:31bbc7f3b817

Backed out changeset [369996c08420]. The argument and order dependent numbering of static ctors/dtors generally doesn't matter because other modules shouldn't reference their symbols. The next changeset will fix a LDC bug that caused such references within ModuleInfo.
author Christian Kamm <kamm incasoftware de>
date Sun, 15 Feb 2009 14:50:33 +0100
parents 44f08170f4ef
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
100
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
1 module structs7;
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
2
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
3 struct S
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
4 {
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
5 int i;
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
6 long l;
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
7 }
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
8
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
9 void main()
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
10 {
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
11 S s = void;
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
12 int i = s.i;
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
13 long l = s.l;
5071469303d4 [svn r104] TONS OF FIXES.
lindquist
parents:
diff changeset
14 }