☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty8.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-empty8.C
code
plain
raw
1
// PR c++/63924
2
// { dg-do compile { target c++11 } }
3
4
struct A { };
5
constexpr bool f(A a) { return true; }
6
template <bool B> constexpr bool g() { return true; }
7
constexpr bool g(A a) { return g<f(a)>(); }