aboutsummaryrefslogtreecommitdiffstats
path: root/test/nardino/scheduling/entry_regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nardino/scheduling/entry_regs.c')
-rw-r--r--test/nardino/scheduling/entry_regs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/nardino/scheduling/entry_regs.c b/test/nardino/scheduling/entry_regs.c
index 047a613d..9e6adacb 100644
--- a/test/nardino/scheduling/entry_regs.c
+++ b/test/nardino/scheduling/entry_regs.c
@@ -1,7 +1,10 @@
#include <stdio.h>
int f(int n) {
- return n;
+ if (n > 0)
+ return 42;
+ else
+ return n;
}