Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-parm-6.C
blob: 95fb7e2dbe4fdcbc74b55e119444ed8328959c20 [
file
] [
log
] [
blame
]
// PR c++/61465
// { dg-do compile { target c++11 } }
// { dg-options "-Wunused-but-set-parameter" }
struct
Foo
{
Foo
(
void
*
x
)
:
y
{
static_cast
<
char
*>(
x
)}
{}
char
*
y
;
};