From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/test/Frontend/ir-support-errors.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 clang/test/Frontend/ir-support-errors.ll (limited to 'clang/test/Frontend/ir-support-errors.ll') diff --git a/clang/test/Frontend/ir-support-errors.ll b/clang/test/Frontend/ir-support-errors.ll new file mode 100644 index 0000000..cb5913c --- /dev/null +++ b/clang/test/Frontend/ir-support-errors.ll @@ -0,0 +1,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 +} -- cgit v1.2.3