llvm-project/clang/test/CodeGen/pre-ra-sched.c
Hubert Tong 603818b97c [test] Fix pre-ra-sched.c to check for error message from stderr
The test previous accidentally passed because it was looking for a lack
of specific input from the binary(!) output being sent to stdout.
2021-05-20 09:51:21 -04:00

5 lines
298 B
C

// RUN: %clang %s -mllvm -pre-RA-sched=fast -c -o %t-fast.o 2>&1 | FileCheck --allow-empty %s
// RUN: %clang %s -mllvm -pre-RA-sched=linearize -c -o %t-linearize.o 2>&1 | FileCheck --allow-empty %s
// CHECK-NOT: clang (LLVM option parsing): for the --pre-RA-sched option: Cannot find option named