diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
commit | c33fc4c00453099f4ac180313a67d6eb0f91ce0a (patch) | |
tree | 3522c3ac6a80d9d32c581884791649d862af2c76 /clang/test/CodeGenCXX/dynamic-cast.cpp | |
parent | 90bc19cd914c9870c1d1701b3a3e290b135c63b6 (diff) | |
download | bcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.tar.gz bcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.zip |
Modify the tests to use attribute group references instead of listing the
function attributes.
llvm-svn: 175606
Diffstat (limited to 'clang/test/CodeGenCXX/dynamic-cast.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/dynamic-cast.cpp | 6 |
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 } |