Function definition example

This commit is contained in:
Mid 2024-11-26 18:43:34 +02:00
parent d6d2b228ef
commit 8caadf9af1

7
tests/funcdefs.nct Normal file
View File

@ -0,0 +1,7 @@
/* Currently return isn't implemented (and no ret instructions are output either) */
/* Oh and arguments aren't supported yet either */
/* But functions work :) */
u0() foo: u0() {
u8 a = 5;
};