re PR c++/70808 (Spurious -Wzero-as-null-pointer-constant for nullptr_t)
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wunused-8.C
blobdb9583bab3d76bc7adea52566c8f0de31d7b9d37
1 // PR c++/16029
2 // { dg-options "-Wunused" }
4 int main ()
6   // We should not see an "unused" warning about "whatever" on the
7   // next line.
8   return whatever (); // { dg-error "10:'whatever' was not declared" }