☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-empty.C
code
plain
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{}));