aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/dynamic-cast.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-27 00:06:04 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-27 00:06:04 +0000
commit899245792776dd219a3c36eb19b42272e270bc0c (patch)
tree6ac05a34d42c4b09361726b0125cb335297ee3ee /test/CodeGenCXX/dynamic-cast.cpp
parentdeb8f5d533b7bcd962976ecdbc1464fe754b6de0 (diff)
Reapply r176133 with testcase fixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/dynamic-cast.cpp')
-rw-r--r--test/CodeGenCXX/dynamic-cast.cpp3
1 files changed, 2 insertions, 1 deletions
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 }