blob: c4c37545c0227d0304737b1d312a868ee71584f9 [file] [log] [blame]
// PR c++/92752
// { dg-do compile }
// { dg-additional-options "-Wignored-qualifiers" }
struct X;
template<class T>
struct Wrap {
T data;
Wrap() : data() {}
};
typedef int (X::*type)();
Wrap<const type> x;
#if __cpp_initializer_lists
const type t{};
#endif