1 2 3 4 5 6 7 8 9
// { dg-options -std=c++0x } struct IsLiteral {}; constexpr auto ab = IsLiteral(); constexpr IsLiteral bar(IsLiteral x) { return x; } constexpr auto xy = bar(ab);