diff options
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; +} |
