comparison tests/code/switch_6.d @ 89:a49bb982a7b0 new_gen

Using the new SourceLocation system to handle errors. Also, this is the first push for making the errors don't throw, but continue to check the source.
author Anders Johnsen <skabet@gmail.com>
date Sun, 04 May 2008 20:27:01 +0200
parents 52eb0eb92e91
children 6c5a3c0bb4fb
comparison
equal deleted inserted replaced
88:eb5b2c719a39 89:a49bb982a7b0
1 //test fail 1 //fail
2 int main(int x) 2 int main(int x)
3 { 3 {
4 switch (x) 4 switch (x)
5 { 5 {
6 case 1, 2: 6 case 1, 2: