aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/method2.cc
blob: e6cb809b27cb789eb1d654775ddbf6ee26ceb80a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
}