diff --git a/testdata/parser/negative/20.pdl b/testdata/parser/negative/20.pdl new file mode 100644 index 0000000000000000000000000000000000000000..5b840e4fa1506b1b76ea3230c61ea2db69ff3c71 --- /dev/null +++ b/testdata/parser/negative/20.pdl @@ -0,0 +1,7 @@ +#version 100 + +primitive main(in a) { + int[] x = {1,2,3}; + x[1] = (x[0] < x[2] ? x[1:2] : x[0:1])[0:0][0]; + x[1] = x[1][0:1]; +} \ No newline at end of file