1 // { dg-do compile { target c++11 } }
4 struct ShouldBeLiteral {
5 constexpr ShouldBeLiteral(int){}
8 struct StaticDataMember {
9 static constexpr IsLiteral one = IsLiteral(); // #1
10 static constexpr ShouldBeLiteral two= ShouldBeLiteral(-1); // #2