diff options
Diffstat (limited to 'clang/test/CXX')
| -rw-r--r-- | clang/test/CXX/class.access/p4.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CXX/class.access/p4.cpp b/clang/test/CXX/class.access/p4.cpp index 3d1578a4fc8..fdde7350622 100644 --- a/clang/test/CXX/class.access/p4.cpp +++ b/clang/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;  }  | 

