Mercurial > projects > dstress
comparison run/b/bug_expression_5981_B.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | 640c34dfc7a5 |
children |
comparison
equal
deleted
inserted
replaced
1559:ec5e144583ea | 1560:36bedfa079e6 |
---|---|
10 module dstress.run.b.bug_expression_5981_B; | 10 module dstress.run.b.bug_expression_5981_B; |
11 | 11 |
12 int main(){ | 12 int main(){ |
13 auto x = ([""]~[])[0]; | 13 auto x = ([""]~[])[0]; |
14 | 14 |
15 if(is(typeof(x) : char[])){ | 15 if(is(typeof(x) : string)){ |
16 return 0; | 16 return 0; |
17 } | 17 } |
18 | 18 |
19 assert(0); | 19 assert(0); |
20 } | 20 } |