PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend56.C
blob7dd5d486f8644ead6a27613aa315c40911a154d2
1 // Make sure we don't mistakenly mark f as DECL_COMDAT.
2 // { dg-final { scan-assembler "_Z1fv" } }
4 void f();
6 template <class T> struct A
8   friend void f();
9 };
11 A<int> a;
13 void f() { }