commit | d7b27e1c17d40c72a1ccf8868315bf0c5271aa54 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Thu Jul 23 00:42:24 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Thu Jul 23 00:42:24 2009 +0000 |
tree | cacd39e6c5e0f14b89d2ce130942842d0c3c20d7 | |
parent | 10e975c9a31461b7b5c32725d749a7c6d9b88efa [diff] [blame] |
Add constructor used to initialize base/member in CXXBaseOrMemberInitializer AST node. Needed by its clients to do the initialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76826 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/constructor-initializer.cpp b/test/SemaCXX/constructor-initializer.cpp index 206d5d2..66a5f57 100644 --- a/test/SemaCXX/constructor-initializer.cpp +++ b/test/SemaCXX/constructor-initializer.cpp
@@ -2,6 +2,7 @@ class A { int m; A() : A::m(17) { } // expected-error {{member initializer 'm' does not name a non-static data member or base class}} + A(int); }; class B : public A {