X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=compiler%2Ftestcases%2Ftest30.tig;fp=compiler%2Ftestcases%2Ftest30.tig;h=fa5c96b9518bd9f77f58b269acc4bb882c99bf6d;hb=38ffcb1fc99ecb7a48097cbcf97b9a3062c8bfa0;hp=0000000000000000000000000000000000000000;hpb=4f2aaee3ef5f70f7769931032fd50af0403c51ae;p=tiger.ml.git diff --git a/compiler/testcases/test30.tig b/compiler/testcases/test30.tig new file mode 100644 index 0000000..fa5c96b --- /dev/null +++ b/compiler/testcases/test30.tig @@ -0,0 +1,10 @@ +/* synonyms are fine */ + +let + type a = array of int + type b = a + + var arr1:a := b [10] of 0 +in + arr1[2] +end