Rafael Espindola | 96e7813 | 2013-07-04 16:16:58 +0000 | [diff] [blame] | 1 | ; RUN: not %clang_cc1 -S -o - %s 2>&1 | FileCheck %s |
Daniel Dunbar | 4cbbd94 | 2010-06-07 23:27:59 +0000 | [diff] [blame] | 2 | |
3 | target triple = "x86_64-apple-darwin10" | ||||
4 | |||||
5 | define i32 @f0() nounwind ssp { | ||||
Benjamin Kramer | c9b47f9 | 2012-03-16 22:31:42 +0000 | [diff] [blame] | 6 | ; CHECK: {{.*}}ir-support-errors.ll:7:16: error: use of undefined value '%x' |
7 | ret i32 %x | ||||
Daniel Dunbar | 4cbbd94 | 2010-06-07 23:27:59 +0000 | [diff] [blame] | 8 | } |