Automatic date update in version.in
[binutils-gdb.git] / gdb / testsuite / gdb.cp / pr12028.cc
blob0fcab6b1e9306e736e27247e679dfc8041f974a2
1 class A{};
2 class B{};
3 class C: public B {};
5 namespace D{
6 int foo (A) { return 11; }
7 int foo (C) { return 12; }
10 int main()
12 A a;
13 B b;
14 C c;
16 D::foo (a);
17 // D::foo (b);
18 D::foo (c);
20 return 0;