aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/select-select-true-true.c
diff options
Diffstat (limited to 'validation/optim/select-select-true-true.c')
-rw-r--r--validation/optim/select-select-true-true.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/validation/optim/select-select-true-true.c b/validation/optim/select-select-true-true.c
new file mode 100644
index 00000000..e6fa2c89
--- /dev/null
+++ b/validation/optim/select-select-true-true.c
@@ -0,0 +1,10 @@
+int foo(int p, int a, int b) { return ((p ? 42 : 43) ? a : b) == a ; }
+
+/*
+ * check-name: select-select-true-true
+ * check-command: test-linearize -Wno-decl $file
+ * check-known-to-fail
+ *
+ * check-output-ignore
+ * check-output-returns: 1
+ */