Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty8.C
blob: 8c1414af55839cdf1f4c76c6255953a2ed46c6b2 [
file
] [
log
] [
blame
]
// 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
)>();
}