From 0a84e7a4d6e2b8f52879ebdf03ce0a682ba0eb8b Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 7 May 2012 01:10:33 +0000 Subject: [PATCH] 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 --- test/SemaCXX/virtuals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(0); + (void)static_cast(0); // expected-error{{allocating an object of abstract class type 'A'}} try { } catch(A) { // expected-error{{variable type 'A' is an abstract class}} } -- 2.50.1