diff --git a/testdata/parser/negative/22.pdl b/testdata/parser/negative/22.pdl new file mode 100644 index 0000000000000000000000000000000000000000..6c5aca60684cad2332ecb0cf383b993e055fdf9a --- /dev/null +++ b/testdata/parser/negative/22.pdl @@ -0,0 +1,14 @@ +#version 100 + +int main(int a) { +dupl: + while (a >= 2) { + a -= 2; +dupl: while (a < 10) { + a++; + if (a % 5 == 0) + break dupl; + } + } + goto dupl; +} \ No newline at end of file