summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/class-member-2.C
blob: 8e4dbe72d7ad9f0405756bc33f6c2fbebd55c6a2 (plain)
1
2
3
4
5
6
7
template <typename T> struct A
{
  void foo () const {}
  char A;
};

void bar() { A<void>().foo(); }