summaryrefslogtreecommitdiff
path: root/clang/test/Frontend/ir-support-errors.ll
blob: cb5913cd3af81efd279596a489e88f855aefbaaa (about) (plain)
1
2
3
4
5
6
7
8
; RUN: %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
}