aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/class.access/p4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/class.access/p4.cpp')
-rw-r--r--test/CXX/class.access/p4.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CXX/class.access/p4.cpp b/test/CXX/class.access/p4.cpp
index 3d1578a4fc..fdde735062 100644
--- a/test/CXX/class.access/p4.cpp
+++ b/test/CXX/class.access/p4.cpp
@@ -103,9 +103,8 @@ namespace test2 {
public:
C();
};
-
- // FIXME: It would be better if this said something about A being an inherited virtual base.
- class D : C { }; // expected-error {{base class 'test2::A' has private constructor}}
+
+ class D : C { }; // expected-error {{inherited virtual base class 'test2::A' has private constructor}}
D d;
}