From 899245792776dd219a3c36eb19b42272e270bc0c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 27 Feb 2013 00:06:04 +0000 Subject: Reapply r176133 with testcase fixes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176145 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/dynamic-cast.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/CodeGenCXX/dynamic-cast.cpp') diff --git a/test/CodeGenCXX/dynamic-cast.cpp b/test/CodeGenCXX/dynamic-cast.cpp index 016cfb14f6..fe85e212b6 100644 --- a/test/CodeGenCXX/dynamic-cast.cpp +++ b/test/CodeGenCXX/dynamic-cast.cpp @@ -17,6 +17,7 @@ const B& f(A *a) { return fail; } -// CHECK: declare i8* @__dynamic_cast(i8*, i8*, i8*, i64) #2 +// CHECK: declare i8* @__dynamic_cast(i8*, i8*, i8*, i64) [[NUW_RO:#[0-9]+]] +// CHECK: attributes [[NUW_RO]] = { nounwind readonly } // CHECK: attributes [[NR]] = { noreturn } -- cgit v1.2.3-70-g09d2