1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/tools/llvm-lit/chain.c
Richard Smith 27aef165bb PR10867. lit would interpret
RUN: a
  RUN: b || true

as "a && (b || true)" in Tcl mode, and as "(a && b) || true" in sh mode.
Everyone seems to (quite reasonably) write tests assuming the Tcl behavior,
so use that in sh mode too.

llvm-svn: 169441
2012-12-05 22:54:26 +00:00

10 lines
197 B
C

// 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: *