1// PR c++/16029 2// { dg-options "-Wunused" } 3 4int main () 5{ 6 // We should not see an "unused" warning about "whatever" on the 7 // next line. 8 return whatever (); // { dg-error "declared" } 9} 10