☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-parm-6.C
☽
☼
gcc/testsuite/g++.dg/warn/Wunused-parm-6.C
code
plain
raw
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
};