annotate run/unittest_05.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
parents 1e6afb94ce6d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
f87ba6507260 added missing meta-data
thomask
parents: 96
diff changeset
1 // $HeadURL$
f87ba6507260 added missing meta-data
thomask
parents: 96
diff changeset
2 // $Date$
f87ba6507260 added missing meta-data
thomask
parents: 96
diff changeset
3 // $Author$
f87ba6507260 added missing meta-data
thomask
parents: 96
diff changeset
4
736
1e6afb94ce6d updated meta data for Torture
thomask
parents: 434
diff changeset
5 // __DSTRESS_TORTURE_BLOCK__ -release
434
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
6 // __DSTRESS_DFLAGS__ -unittest
89
76a93657c459 extended unittest test cases
thomask
parents:
diff changeset
7
434
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
8 module dstress.run.unittest_05;
374
f87ba6507260 added missing meta-data
thomask
parents: 96
diff changeset
9
434
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
10 int status;
89
76a93657c459 extended unittest test cases
thomask
parents:
diff changeset
11
434
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
12 union E{
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
13 int i;
89
76a93657c459 extended unittest test cases
thomask
parents:
diff changeset
14 unittest{
434
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
15 status++;
89
76a93657c459 extended unittest test cases
thomask
parents:
diff changeset
16 }
76a93657c459 extended unittest test cases
thomask
parents:
diff changeset
17 }
434
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
18
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
19 int main(){
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
20 assert(status==1);
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
21 return 0;
6a553efddc73 updated unittest and file handling to dmd-0.121
thomask
parents: 374
diff changeset
22 }