(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
warn/
Wunused-18.C
// PR c++/14199
// { dg-options "-W -Wall -Wunused" }

struct X { 
    static void foo (); 
}; 
 
template <typename T> 
void foo (const T &t) { 
  t.foo(); 
}

template void foo (const X &);