Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb131.C
blob6a0f1c35c0fa25cbc0ee2fbafd246eac6c024038
1 // { dg-do assemble  }
2 // From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> 
3 // Reported against EGCS snaps 98/06/18.
5 struct a {
6         a();
7         void junk( float );
8         void junk( double );
10         void bar( double );
11         void bar( float );
13   void foo( void (a::*member)(float) );   // { dg-message "void a::foo|no known conversion" } 
16 a::a()
18         foo( &junk ); // { dg-error "match" } junk is an unqualified-id.
19         foo( &bar );  // { dg-error "match" } bar is an unqualified-id.