diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
commit | 4e1125f630e75a52209b928e9d43b638abf39987 (patch) | |
tree | deb1d148cfd872bc06a047c1f9f8dcf1ba614ffe /test/CodeGenCXX/dynamic-cast-always-null.cpp | |
parent | 68ea3aeff1be9412658f4c96fdab0d8ad875be6c (diff) |
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/dynamic-cast-always-null.cpp')
-rw-r--r-- | test/CodeGenCXX/dynamic-cast-always-null.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGenCXX/dynamic-cast-always-null.cpp b/test/CodeGenCXX/dynamic-cast-always-null.cpp index 836cb110da..db4346ffc6 100644 --- a/test/CodeGenCXX/dynamic-cast-always-null.cpp +++ b/test/CodeGenCXX/dynamic-cast-always-null.cpp @@ -13,7 +13,7 @@ C *f(B* b) { // CHECK: @_Z1fR1B C &f(B& b) { // CHECK-NOT: call i8* @__dynamic_cast - // CHECK: call void @__cxa_bad_cast() noreturn + // CHECK: call void @__cxa_bad_cast() [[NR:#[0-9]+]] // CHECK: ret %struct.C* undef return dynamic_cast<C&>(b); } @@ -22,3 +22,5 @@ void dont_crash() { (void) dynamic_cast<void*>((A*)0); (void) dynamic_cast<void*>((B*)0); } + +// CHECK: attributes [[NR]] = { noreturn } |