297561aca9
* gdb.cp/method2.exp: New test. * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
27 lines
205 B
C++
27 lines
205 B
C++
struct A
|
|
{
|
|
void method ();
|
|
void method (int a);
|
|
void method (A* a);
|
|
};
|
|
|
|
void
|
|
A::method ()
|
|
{
|
|
}
|
|
|
|
void
|
|
A::method (int a)
|
|
{
|
|
}
|
|
|
|
void
|
|
A::method (A* a)
|
|
{
|
|
}
|
|
|
|
int
|
|
main (int argc, char** argv)
|
|
{
|
|
return 0;
|
|
}
|