From 6f6613419f1511c5637c9f69b3caa5ae838270b9 Mon Sep 17 00:00:00 2001 From: Cody Date: Wed, 7 Jun 2023 03:28:40 -0500 Subject: Moving over from a VM interpreter to natively compiled w/ LLVM --- test.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test.c (limited to 'test.c') diff --git a/test.c b/test.c new file mode 100644 index 0000000..3a39c44 --- /dev/null +++ b/test.c @@ -0,0 +1,11 @@ +#include + +int add(int, int); +int subtract(int, int); + +int main() { + int a = add(5, 2); + int b = subtract(3, 8); + printf("%d %d\n", a, b); + return 0; +} -- cgit v1.2.3