* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-base5.C
blob84700bccff76fe3fe5abafb2c5b2ef51336cc127
1 // PR c++/80829
2 // { dg-do compile { target c++11 } }
4 struct A {
5   constexpr A(int a) : _a(a) {}
6   int _a;
7 };
9 struct B : public A {
10   constexpr B(int a) : A(a) {}
13 int main() {
14   constexpr A a = B(10);