1 // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
4 static int abc
= 42; // expected-warning {{variable 'abc' is not needed and will not be emitted}}
7 template <typename T
> int abc_template
= 0;
8 template <> int abc_template
<int> = 0; // expected-warning {{variable 'abc_template<int>' is not needed and will not be emitted}}
12 return abc
+ abc_template
<int> + abc_template
<long>;