aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp23/lookup2.C
blob: a16afbe219615c78235805c40842dac591862373 (plain)
1
2
3
4
5
6
// DR 1835

template <class T> void f(T t) { t.foo::bar(); }
struct foo { void bar(); };
struct baz : foo { };
int main() { f(baz()); }