aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-14 20:35:19 +0000
committerMike Stump <mrs@apple.com>2009-02-14 20:35:19 +0000
commit19891b082be53204ec91da31aee902966508c6d8 (patch)
treeca2ff63dc58ad0f63172f8eeb575c63e0c006446
parent3d658640abc128dcc84a5a5201456395c86c4fa6 (diff)
Add expected note. Surely people test before the check in stuff.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64565 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/inherit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/inherit.cpp b/test/SemaCXX/inherit.cpp
index cca1f8dec7..6c00218039 100644
--- a/test/SemaCXX/inherit.cpp
+++ b/test/SemaCXX/inherit.cpp
@@ -10,7 +10,7 @@ class B3 : virtual virtual A { }; // expected-error{{duplicate 'virtual' in base
class C : public B1, private B2 { };
-class D;
+class D; // expected-note {{forward declaration of 'class D'}}
class E : public D { }; // expected-error{{base class has incomplete type}}