summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/dynamic-cast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/dynamic-cast.cpp')
-rw-r--r--clang/test/CodeGenCXX/dynamic-cast.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/dynamic-cast.cpp b/clang/test/CodeGenCXX/dynamic-cast.cpp
index 77cfce1d460..6b145d8343e 100644
--- a/clang/test/CodeGenCXX/dynamic-cast.cpp
+++ b/clang/test/CodeGenCXX/dynamic-cast.cpp
@@ -17,4 +17,8 @@ const B& f(A *a) {
return fail;
}
-// CHECK: declare i8* @__dynamic_cast(i8*, i8*, i8*, i64) nounwind readonly
+// CHECK: declare i8* @__dynamic_cast(i8*, i8*, i8*, i64) #2
+
+// CHECK: attributes #0 = { inlinehint nounwind "target-features"={{.*}} }
+// CHECK: attributes #1 = { "target-features"={{.*}} }
+// CHECK: attributes #2 = { nounwind readonly }
OpenPOWER on IntegriCloud