Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wunused-parm-6.C

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 };