Mercurial > projects > dstress
comparison run/a/auto_10_B.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | 03b5056496f1 |
children |
comparison
equal
deleted
inserted
replaced
1559:ec5e144583ea | 1560:36bedfa079e6 |
---|---|
1 // $HeadURL$ | 1 // $HeadURL$ |
2 // $Date$ | 2 // $Date$ |
3 // $Author$ | 3 // $Author$ |
4 | 4 |
5 module dstress.run.c.auto_10_B; | 5 module dstress.run.a.auto_10_B; |
6 | 6 |
7 int main(){ | 7 int main(){ |
8 auto x = 4; | 8 auto x = 4; |
9 | 9 |
10 if(typeid(typeof(x)).toString() != "int"){ | 10 if("int" != typeid(typeof(x)).toString()){ |
11 assert(0); | 11 assert(0); |
12 } | 12 } |
13 | 13 |
14 return 0; | 14 return 0; |
15 } | 15 } |