aboutsummaryrefslogtreecommitdiffstats
path: root/test_deliverable/testcases/test_IFELSET.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_deliverable/testcases/test_IFELSET.c')
-rw-r--r--test_deliverable/testcases/test_IFELSET.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test_deliverable/testcases/test_IFELSET.c b/test_deliverable/testcases/test_IFELSET.c
new file mode 100644
index 0000000..d2c7a17
--- /dev/null
+++ b/test_deliverable/testcases/test_IFELSET.c
@@ -0,0 +1,7 @@
+int ifelset(int a, int b)
+{
+ if(a)
+ return b;
+ else
+ return a;
+}