repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH v2] RISC-V: Fix gcc.target/riscv/rvv/base/cpymem-1.c f3
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-8.C
blob
db9583bab3d76bc7adea52566c8f0de31d7b9d37
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 "10:'whatever' was not declared" }
9
}