1 // PR c++/58511
2 // { dg-do compile { target c++11 } }
3 
4 struct A
5 {
6   constexpr A(int, int = i) {}
7   static const int i;
8 };
9 
10 struct B : A
11 {
12   using A::A;			// { dg-prune-output "A::i" }
13 };
14 
15 constexpr B b(0);		// { dg-error "" }
16