Debian Codegraph @

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

raw
1 // { dg-do compile { target c++11 } }
2
3 struct Empty {};
4
5 constexpr bool f(Empty) { return true; }
6
7 constexpr bool x(f(Empty{}));