aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/general/branchz.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa/general/branchz.c')
-rw-r--r--test/mppa/general/branchz.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/mppa/general/branchz.c b/test/mppa/general/branchz.c
new file mode 100644
index 00000000..5e3226d5
--- /dev/null
+++ b/test/mppa/general/branchz.c
@@ -0,0 +1,12 @@
+int main(void){
+ int a=1;
+ int b;
+
+ if(a==0){
+ b = a+4;
+ } else {
+ b = a+2;
+ }
+
+ return b;
+}