PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend51.C
blobd2d1ad799d88e45a9b1421456a8b83e585e9c02f
1 // PR c++/38392
2 // { dg-do link }
4 void Function();
6 int main()
8   Function();
11 template <typename T>
12 struct Test
14   friend void Function() { }
17 template class Test<int>;