X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=compiler%2Ftestcases%2Ftest40.tig;fp=compiler%2Ftestcases%2Ftest40.tig;h=f54bc02a6d92981629ce0f35e2410e789a761c37;hb=38ffcb1fc99ecb7a48097cbcf97b9a3062c8bfa0;hp=0000000000000000000000000000000000000000;hpb=4f2aaee3ef5f70f7769931032fd50af0403c51ae;p=tiger.ml.git diff --git a/compiler/testcases/test40.tig b/compiler/testcases/test40.tig new file mode 100644 index 0000000..f54bc02 --- /dev/null +++ b/compiler/testcases/test40.tig @@ -0,0 +1,7 @@ +/* error : procedure returns value */ +let + function g(a:int) = a +in + g(2) +end +