|
|
1.1.2.1 ! paf 1: @main[] ! 2: ^try{ ! 3: ^mustfail[] ! 4: }{ ! 5: ^if($exception.type eq parser.runtime){ ! 6: failed, that's OK ! 7: $exception.handled(1) ! 8: } ! 9: } ! 10: ! 11: @mustfail[] ! 12: ^switch[1]{ ! 13: ^badswitchtestcase[] ! 14: } ! 15: @badswitchtestcase[][local] ! 16: $local[local value] ! 17: ^case[1]{1code $local}