X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=compiler%2Ftestcases%2Ftest27.tig;fp=compiler%2Ftestcases%2Ftest27.tig;h=957adfe79495dbb4fbc6e2018f5d41ce914fb462;hb=38ffcb1fc99ecb7a48097cbcf97b9a3062c8bfa0;hp=0000000000000000000000000000000000000000;hpb=4f2aaee3ef5f70f7769931032fd50af0403c51ae;p=tiger.ml.git diff --git a/compiler/testcases/test27.tig b/compiler/testcases/test27.tig new file mode 100644 index 0000000..957adfe --- /dev/null +++ b/compiler/testcases/test27.tig @@ -0,0 +1,8 @@ +/* locals hide globals */ +let + var a:=0 + + function g(a:int):int = a +in + g(2) +end