comparison test/structinit2.d @ 12:ee302fe07296 trunk

[svn r16] * Updated all tests to have a main * Updated runalltests to both compile and run the tests
author lindquist
date Tue, 02 Oct 2007 05:27:44 +0200
parents c53b6e3fe49a
children
comparison
equal deleted inserted replaced
11:d3ee9efe20e2 12:ee302fe07296
4 { 4 {
5 int i; 5 int i;
6 long l; 6 long l;
7 float f; 7 float f;
8 } 8 }
9
10 void main()
11 {
12 Imp i;
13 assert(i.i == 0);
14 assert(i.l == 0L);
15 assert(i.f !<>= 0.0f);
16 }