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