OSDN Git Service

PR c++/36254
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / warn / Wunused-8.C
1 // PR c++/16029
2 // { dg-options "-Wunused" }
3
4 int main ()
5 {
6   // We should not see an "unused" warning about "whatever" on the
7   // next line.
8   return whatever (); // { dg-error "declared" }
9 }