aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/warn/Wunused-11.C
blob: 4a151d24547e3196f2a6364ebe4670d9aca5d4e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/20212
// { dg-options "-O2 -Wunused -Wextra" }

template<int> void f(int);
void g(int i)
{
  f<0>(i);
}
template<int> void f(int i __attribute__((unused)) )
{}