From-SVN: r19428
This commit is contained in:
Jason Merrill 1998-04-27 06:19:31 -04:00
parent 6b2fe0fbe4
commit 6c58160c11

View file

@ -7,6 +7,6 @@ public:
int DoSomething(); int DoSomething();
}; };
int (Foo::*pA)() = { &Foo::DoSomething }; // ERROR - int (Foo::*pA)() = { &Foo::DoSomething };
int (Foo::*X[1])(int) = { { &Foo::DoSomething } }; // ERROR - int (Foo::*X[1])(int) = { { &Foo::DoSomething } }; // ERROR -
int (Foo::*Y[])(int) = { { &Foo::DoSomething, &Foo::DoSomething, 0 } }; // ERROR - int (Foo::*Y[])(int) = { { &Foo::DoSomething, &Foo::DoSomething, 0 } }; // ERROR -