Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-empty3.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct IsLiteral {};
4
5 constexpr auto ab = IsLiteral();
6
7 constexpr IsLiteral bar(IsLiteral x) { return x; }
8
9 constexpr auto xy = bar(ab);