blob: 8c1414af55839cdf1f4c76c6255953a2ed46c6b2 (
plain)
1
2
3
4
5
6
7
|
// PR c++/63924
// { dg-do compile { target c++11 } }
struct A { };
constexpr bool f(A a) { return true; }
template <bool B> constexpr bool g() { return true; }
constexpr bool g(A a) { return g<f(a)>(); }
|