annotate test/bug52.d @ 333:f7190d9eb70c trunk

[svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors. Fix tests makefile and add minimize to gc.d.
author ChristianK
date Sat, 12 Jul 2008 09:23:14 +0200
parents ccca1c13e13a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
89
ccca1c13e13a [svn r93] a few fixes, some phobos additions.
lindquist
parents:
diff changeset
1 module bug52;
ccca1c13e13a [svn r93] a few fixes, some phobos additions.
lindquist
parents:
diff changeset
2 struct Vec { double x,y,z; }
ccca1c13e13a [svn r93] a few fixes, some phobos additions.
lindquist
parents:
diff changeset
3 struct Pair(T, U) { T first; U second; }
ccca1c13e13a [svn r93] a few fixes, some phobos additions.
lindquist
parents:
diff changeset
4 typedef Pair!(double, Vec) Hit;
ccca1c13e13a [svn r93] a few fixes, some phobos additions.
lindquist
parents:
diff changeset
5 void main() {}