annotate test/bug5.d @ 270:d9d5d59873d8 trunk

[svn r291] Fixed a bunch of the old Phobos tests to work with Tango. Branch statements now emit a new block after it. Fixed the _adSort runtime function had a bad signature. Added a missing dot prefix on compiler generated string tables for string switch. Fixed, PTRSIZE seems like it was wrong on 64bit, now it definitely gets set properly.
author lindquist
date Mon, 16 Jun 2008 16:01:19 +0200
parents 2841234d2aea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
1 module bug5;
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
2
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
3 struct hah {
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
4 static hah f()
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
5 {
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
6 hah res;
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
7 return res;
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
8 }
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
9 hah g()
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
10 {
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
11 return hah.init;
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
12 }
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
13 }
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
14
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
15 void main()
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
16 {
2841234d2aea [svn r35] * Attributes on struct fields/methods now work
lindquist
parents:
diff changeset
17 }