From a4f2ebcbe596275e096fc0a59e41e1fffd7b14a0 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 13 Dec 2022 15:02:11 +0100 Subject: [PATCH] add example of fn with a mips instr name --- tests/23_fn-name-mips-instr.test | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/23_fn-name-mips-instr.test diff --git a/tests/23_fn-name-mips-instr.test b/tests/23_fn-name-mips-instr.test new file mode 100644 index 0000000..190ef18 --- /dev/null +++ b/tests/23_fn-name-mips-instr.test @@ -0,0 +1,7 @@ +int add (int a, int b) { + return a + b; +} + +void main () { + puti(add(1, 3)); +}