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