mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
ac1b2e5550
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174102 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
738 B
Plaintext
29 lines
738 B
Plaintext
# Check sequencing operations.
|
|
#
|
|
# RUN: echo "first-line" > %t.out && echo "second-line" >> %t.out
|
|
# RUN: FileCheck --check-prefix CHECK-AND < %t.out %s
|
|
#
|
|
# CHECK-AND: first-line
|
|
# CHECK-AND: second-line
|
|
#
|
|
# The false case of && is tested in sequencing-2.txt
|
|
|
|
|
|
# RUN: echo "first-line" > %t.out || echo "second-line" >> %t.out
|
|
# RUN: FileCheck --check-prefix CHECK-OR-1 < %t.out %s
|
|
#
|
|
# CHECK-OR-1: first-line
|
|
# CHECK-OR-1-NOT: second-line
|
|
|
|
# RUN: false || echo "second-line" > %t.out
|
|
# RUN: FileCheck --check-prefix CHECK-OR-2 < %t.out %s
|
|
#
|
|
# CHECK-OR-2: second-line
|
|
|
|
|
|
# RUN: echo "first-line" > %t.out; echo "second-line" >> %t.out
|
|
# RUN: FileCheck --check-prefix CHECK-SEQ < %t.out %s
|
|
#
|
|
# CHECK-SEQ: first-line
|
|
# CHECK-SEQ: second-line
|