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
Handle unsigned constants for module I/O.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-parm-6.C
blob
95fb7e2dbe4fdcbc74b55e119444ed8328959c20
1
// PR c++/61465
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wunused-but-set-parameter" }
4
5
struct Foo {
6
Foo(void* x) : y{static_cast<char*>(x)} {}
7
char* y;
8
};