From 1dfa2971999b4adf36a33866b0b07af07188da08 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Tue, 31 Mar 2026 16:30:29 -1000 Subject: math n shi --- test/manycalls.c | 24 ++++++++++++++++++++++++ test/math.c | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 test/manycalls.c create mode 100644 test/math.c (limited to 'test') diff --git a/test/manycalls.c b/test/manycalls.c new file mode 100644 index 0000000..bfcc775 --- /dev/null +++ b/test/manycalls.c @@ -0,0 +1,24 @@ +int one() { + return 1; +} + +int two() { + return 2; +} + +int three() { + return 3; +} + +int four() { + return 4; +} + +int main() { + int d; + int a = one(); + int b = two(); + int c = three(); + d = four(); + return d; +} diff --git a/test/math.c b/test/math.c new file mode 100644 index 0000000..2131546 --- /dev/null +++ b/test/math.c @@ -0,0 +1,3 @@ +int main(int argc, char** argv) { + return argc * -5; +} -- cgit v1.2.3