From 8e354d0b3d76eac27fe2c533db275e21f983b8dd Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 30 Sep 2019 16:46:18 -0400 Subject: Add more of Tino's tests --- Testing/General/test-3.p | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Testing/General/test-3.p (limited to 'Testing/General/test-3.p') diff --git a/Testing/General/test-3.p b/Testing/General/test-3.p new file mode 100644 index 0000000..b4cbf29 --- /dev/null +++ b/Testing/General/test-3.p @@ -0,0 +1,10 @@ +program main( input, output ); + var a,b,c: integer; + function foo( x,y: integer ): integer; + begin + foo := x + foo( x, y ) + end; +begin + a := foo( b, c ) +end. + -- cgit v1.1