old-cross-binutils/gdb/testsuite/gdb.cp/method2.cc
Pedro Alves 297561aca9 * gdb.cp/method2.cc: New test.
* gdb.cp/method2.exp: New test.
	* gdb.cp/Makefile.in (EXECUTABLES): Add method2.
2007-03-28 00:32:41 +00:00

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;
}