// PR c++/50361 // { dg-do compile { target c++11 } } #include struct Foo { Foo(std::initializer_list) { }; template Foo(T t) { T u(t); } private: union Data { Data() : null(nullptr) {} std::nullptr_t null; } u_; }; int main() { Foo f = { {} }; }