* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ctor7.C
blob5d18e56435278ed00d511f9d28fc479d03ec53da
1 // PR c++/47199
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-fno-elide-constructors" }
5 template < int > struct S
7   constexpr S (int r):rr (r)
8   {
9   }
10   S (const S &) = default;
11   static constexpr S s ()
12   {
13     return -1;
14   }
15   int rr;
18 static const int d = S < 0 >::s ().rr;