Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wunused-18.C

raw
1 // PR c++/14199
2 // { dg-options "-W -Wall -Wunused" }
3
4 struct X {
5 static void foo ();
6 };
7
8 template <typename T>
9 void foo (const T &t) {
10 t.foo();
11 }
12
13 template void foo (const X &);