aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/dynamic-cast.cpp
diff options
context:
space:
mode:
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 }