* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr23.C
blob2fab690b60b9946a7c53e9a9b9d75116b026d3ae
1 // PR c++/50361
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 struct Foo
8   Foo(std::initializer_list<Foo>) { };
10   template<class T> Foo(T t) { T u(t); }
12 private:
13   union Data
14   {
15     Data() : null(nullptr) {}
17     std::nullptr_t null;
18   } u_;
21 int main()
23   Foo f = { {} };