From 4f45e2926fa9d0dba400ec6b6a1506c898cad13d Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Fri, 22 Mar 2019 11:10:11 +0100 Subject: Reorganized the test/mppa/ tests to have fewer of them --- test/mppa/instr/individual/call.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/mppa/instr/individual/call.c (limited to 'test/mppa/instr/individual/call.c') diff --git a/test/mppa/instr/individual/call.c b/test/mppa/instr/individual/call.c new file mode 100644 index 00000000..ba2ec323 --- /dev/null +++ b/test/mppa/instr/individual/call.c @@ -0,0 +1,16 @@ +#include "framework.h" + +int sum(int a, int b){ + return a+b; +} + +int make(int a){ + return a; +} + +BEGIN_TEST(int) +{ + c = sum(make(a), make(b)); +} +END_TEST32() +/* RETURN VALUE: 60 */ -- cgit