llvm-project/clang/test/Frontend/ir-support-errors.ll
Rafael Espindola 925213b0fa Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of
using pipefail.

llvm-svn: 185652
2013-07-04 16:16:58 +00:00

9 lines
224 B
LLVM

; RUN: not %clang_cc1 -S -o - %s 2>&1 | FileCheck %s
target triple = "x86_64-apple-darwin10"
define i32 @f0() nounwind ssp {
; CHECK: {{.*}}ir-support-errors.ll:7:16: error: use of undefined value '%x'
ret i32 %x
}