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