aboutsummaryrefslogtreecommitdiff
path: root/testdata/parse/function2.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testdata/parse/function2.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/testdata/parse/function2.txt b/testdata/parse/function2.txt
new file mode 100644
index 0000000..b24e703
--- /dev/null
+++ b/testdata/parse/function2.txt
@@ -0,0 +1,41 @@
+# More function tests.
+-- func10.test --
+!@#$%^&*()
+-- func10.out --
+call !@#$%^&*
+-- func11.test --
+!@#$%^&*(arg)
+-- func11.out --
+call !@#$%^&*
+ arg
+-- func12.test --
+foo()
+-- func12.out --
+call foo
+-- func13.test --
+a > foo()
+-- func13.out --
+compare >
+ a
+ call foo
+-- func14.test --
+b < foo(3)
+-- func14.out --
+compare <
+ b
+ call foo
+ 3
+-- func15.test --
+a > b.c.d(e)
+-- func15.out --
+compare >
+ a
+ call b.c.d
+ e
+-- func16.test --
+a > b.c.d(e)
+-- func16.out --
+compare >
+ a
+ call b.c.d
+ e