summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/name-clash8.C
blob: 40c487d6a9ae9f0f1f2dbb91078d167df9bcaaf9 (plain)
1
2
3
4
5
6
7
8
// PR c++/38278

struct foo { };
void bar();

struct baz {
  static foo (bar)();
};