xref: /minix3/external/bsd/llvm/dist/clang/test/Frontend/ir-support-errors.ll (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1; RUN: not %clang_cc1 -S -o - %s 2>&1 | FileCheck %s
2
3target triple = "x86_64-apple-darwin10"
4
5define i32 @f0() nounwind ssp {
6; CHECK: {{.*}}ir-support-errors.ll:7:16: error: use of undefined value '%x'
7       ret i32 %x
8}
9