Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor12.C
blob: 45e1ed27faee175c7ba9c42d2a8dd895483530c3 [
file
] [
log
] [
blame
]
// PR c++/55753
// { dg-do compile { target c++11 } }
template
<
typename
Tp
>
struct
C
{
constexpr
C
(
const
Tp
&
r
)
{
}
};
template
<
typename
Tp
>
struct
B
{
B
()
{
C
<double>
cpl
=
C
<double>
((
true
?
1.0
:
C
<double>
()));
}
};