Updating the test case based on previous patch

llvm-svn: 156275
This commit is contained in:
Aaron Ballman 2012-05-07 01:10:33 +00:00
parent e2648bac3a
commit 5f299dd827
1 changed files with 1 additions and 1 deletions

View File

@ -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}}
}