diff options
| author | Carson Fleming <cflems@cflems.net> | 2026-03-31 16:30:29 -1000 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2026-03-31 16:30:29 -1000 |
| commit | 1dfa2971999b4adf36a33866b0b07af07188da08 (patch) | |
| tree | 7d65b9a5780a95bf519fed6d435bdade264aac62 /test | |
| parent | 7cf2065be92855b5b1db31a4bb7afbb4af29a817 (diff) | |
| download | ccc-1dfa2971999b4adf36a33866b0b07af07188da08.tar.gz | |
math n shi
Diffstat (limited to 'test')
| -rw-r--r-- | test/manycalls.c | 24 | ||||
| -rw-r--r-- | test/math.c | 3 |
2 files changed, 27 insertions, 0 deletions
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; +} |
