aboutsummaryrefslogtreecommitdiff
path: root/testdata/parse/function2.txt
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-04-03 06:34:47 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-04-03 06:34:47 +0200
commit38b60098e42b4a899eb574f65fa14d4fdbe82f9b (patch)
tree3956fe1ab8107c5feb043fd466a969da8f5b1f9a /testdata/parse/function2.txt
parentd20acec5efcad4b3cd493f914d10e3d11cdfee4d (diff)
downloadele-38b60098e42b4a899eb574f65fa14d4fdbe82f9b.tar.gz
ele-38b60098e42b4a899eb574f65fa14d4fdbe82f9b.zip
Init
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