add example of fn with a mips instr name
This commit is contained in:
parent
c37a7fe1bc
commit
a4f2ebcbe5
1 changed files with 7 additions and 0 deletions
7
tests/23_fn-name-mips-instr.test
Normal file
7
tests/23_fn-name-mips-instr.test
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
int add (int a, int b) {
|
||||||
|
return a + b;
|
||||||
|
}
|
||||||
|
|
||||||
|
void main () {
|
||||||
|
puti(add(1, 3));
|
||||||
|
}
|
Reference in a new issue