annotate tests/mini/bug78.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/bug78.d@a939ec89fc72
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
124
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
1 module bug78;
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
2
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
3 void main()
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
4 {
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
5 typedef int int_t = 42;
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
6 int_t i;
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
7 assert(i == int_t.init);
a939ec89fc72 [svn r128] function local typedefs were not working
lindquist
parents:
diff changeset
8 }