summaryrefslogtreecommitdiff
path: root/test/tools/llvm-lit/chain.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-lit/chain.c')
-rw-r--r--test/tools/llvm-lit/chain.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tools/llvm-lit/chain.c b/test/tools/llvm-lit/chain.c
new file mode 100644
index 000000000000..6f6541d2e46a
--- /dev/null
+++ b/test/tools/llvm-lit/chain.c
@@ -0,0 +1,9 @@
+// This test should fail. lit used to interpret this as:
+// (false && false) || true
+// instead of the intended
+// false && (false || true
+//
+// RUN: false
+// RUN: false || true
+//
+// XFAIL: *