aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/access-base-class.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-28 04:34:55 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-28 04:34:55 +0000
commit76ef658c703faf72c00f324fb9edc03169718e3e (patch)
tree7ec1f9a2fc34f284c7e4527aa4a975abef6df9b4 /test/SemaCXX/access-base-class.cpp
parentc302f002f5e88a7ce29026bf9b006ff6774892b5 (diff)
When we complain about a member being inaccessible due to a constraint
along an access path, add another note pointing at the member we actually found. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/access-base-class.cpp')
-rw-r--r--test/SemaCXX/access-base-class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/access-base-class.cpp b/test/SemaCXX/access-base-class.cpp
index 8551690216..f676e199b6 100644
--- a/test/SemaCXX/access-base-class.cpp
+++ b/test/SemaCXX/access-base-class.cpp
@@ -61,7 +61,7 @@ namespace T5 {
namespace T6 {
class C;
- class A {};
+ class A {}; // expected-note{{member is declared here}}
class B : private A { // expected-note {{declared private here}} expected-note {{constrained by private inheritance here}}
void f(C* c);