Debian Codegraph @

gcc/testsuite/g++.dg/lookup/koenig7.C

raw
1 // PR c++/34870
2
3 template <typename T>
4 struct Foo
5 {
6 friend void func(const Foo &) {}
7 };
8
9 void check(const Foo<int> & x)
10 {
11 func(x);
12 }