aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/tests/handwritten/conditional-1.c
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-26 13:00:45 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-26 13:00:45 +0100
commit51b059d9a5559cf06e13e82bcda3da9f1c70fad1 (patch)
treed2060251ae147a565e2d6297666effc5fe7fa7a0 /cparser/tests/handwritten/conditional-1.c
parent94163429293cef7410320f79fc5964fc546fccef (diff)
parent52c4f2622a32a88f9470111542b547514e6b21cc (diff)
downloadcompcert-51b059d9a5559cf06e13e82bcda3da9f1c70fad1.tar.gz
compcert-51b059d9a5559cf06e13e82bcda3da9f1c70fad1.zip
Merge branch 'fpottier-clean'
Diffstat (limited to 'cparser/tests/handwritten/conditional-1.c')
-rw-r--r--cparser/tests/handwritten/conditional-1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cparser/tests/handwritten/conditional-1.c b/cparser/tests/handwritten/conditional-1.c
new file mode 100644
index 00000000..c6a5210a
--- /dev/null
+++ b/cparser/tests/handwritten/conditional-1.c
@@ -0,0 +1,4 @@
+int main (int x, int y)
+{
+ return x == 0 ? x : y == 0 ? y;
+}