PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wunused-function3.C
blob94c9025a43eadd0ff35fb8a5709018c78b172d97
1 // { dg-options -Wunused-function }
3 namespace
5   template <class T> struct A
6   {
7     friend void f(A) { }
8   };
10   A<int> a;