1 // PR c++/55993
2 // { dg-do compile { target c++11 } }
3 
4 struct A {};
5 struct B:A {};
6 struct C:A {};
7 struct D:B,C {};
8 
9 constexpr D d {};
10 constexpr const C& e=d; // OK
11 constexpr auto f=static_cast<const C&>(d); // FAIL
12