1 // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
4 static void f() {} // expected-warning {{function 'f' is not needed and will not be emitted}}
12 namespace test1_template
{
13 template <typename T
> static void f() {}
14 template <> void f
<int>() {} // expected-warning {{function 'f<int>' is not needed and will not be emitted}}
20 } // namespace test1_template
25 static void g() { f(); }