diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2012-05-07 01:10:33 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2012-05-07 01:10:33 +0000 |
commit | 0a84e7a4d6e2b8f52879ebdf03ce0a682ba0eb8b (patch) | |
tree | e9d162720b636d0cda2b4ca638a3d81b4d492e93 | |
parent | d079abfb5eefaf7da232e39a6564f561402cf4fe (diff) |
Updating the test case based on previous patch
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156275 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/SemaCXX/virtuals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/virtuals.cpp b/test/SemaCXX/virtuals.cpp index ea7d203ca7..a340e9d86b 100644 --- a/test/SemaCXX/virtuals.cpp +++ b/test/SemaCXX/virtuals.cpp @@ -30,7 +30,7 @@ A fn(A) // expected-error{{parameter type 'A' is an abstract class}} \ // expected-error{{return type 'A' is an abstract class}} { A a; // expected-error{{variable type 'A' is an abstract class}} - (void)static_cast<A>(0); + (void)static_cast<A>(0); // expected-error{{allocating an object of abstract class type 'A'}} try { } catch(A) { // expected-error{{variable type 'A' is an abstract class}} } |