1 // PR c++/41109, 41110, 41134
2 // { dg-options "-Wunused" }
4 int memory_consumption(const int &t) { return sizeof(t); }
7 int g() { return memory_consumption(s); }
9 template <int> struct X { static const int s = 2; };
11 template <typename T> int f() {
12 const unsigned int dim = 2;
16 template int f<int>();
19 template <typename> int h() { return i; }