Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
)>();
}