blob: daf1675be51d447cf7e26fa022ccf85404e57fa6 [file] [log] [blame]
Rafael Espindola96e78132013-07-04 16:16:58 +00001; RUN: not %clang_cc1 -S -o - %s 2>&1 | FileCheck %s
Daniel Dunbar4cbbd942010-06-07 23:27:59 +00002
3target triple = "x86_64-apple-darwin10"
4
5define i32 @f0() nounwind ssp {
Benjamin Kramerc9b47f92012-03-16 22:31:42 +00006; CHECK: {{.*}}ir-support-errors.ll:7:16: error: use of undefined value '%x'
7 ret i32 %x
Daniel Dunbar4cbbd942010-06-07 23:27:59 +00008}