diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-03-08 17:07:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-08 17:07:01 +0100 |
| commit | 61aa7ebf79b2e7102be033f74bb1fafbfcdb3080 (patch) | |
| tree | 99459427dab6085a41b687fb0919d442215a8a31 /progs/tests/constant_function_complex.sy | |
| parent | 09c830296fdb55efbc7f590337ce72f5ec75c04b (diff) | |
| parent | 50d6472d56091d0fece3fb87837a3931215603e4 (diff) | |
| download | sylt-61aa7ebf79b2e7102be033f74bb1fafbfcdb3080.tar.gz | |
Merge pull request #99 from FredTheDino/indent-tests
Diffstat (limited to 'progs/tests/constant_function_complex.sy')
| -rw-r--r-- | progs/tests/constant_function_complex.sy | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/progs/tests/constant_function_complex.sy b/progs/tests/constant_function_complex.sy new file mode 100644 index 0000000..6a60ebe --- /dev/null +++ b/progs/tests/constant_function_complex.sy @@ -0,0 +1,19 @@ +h :: fn -> int { + ret 3 +} + +k :: fn -> int { + ret h() +} + +a :: fn -> int { + ret q() +} + +q :: fn -> int { + ret k() +} + +start :: fn { + a() <=> 3 +} |
