Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor11.C
blob: e22c55f7a92502561b40601a6ebd9ee2f91a15b6 [
file
] [
log
] [
blame
]
// PR c++/55856
// { dg-do compile { target c++11 } }
struct
A
{
A
(
const
char
*);
};
template
<
class
T
>
struct
B
{
T t
;
template
<
class
U
>
constexpr
B
(
U
&&
u
):
t
(
u
)
{
}
};
B
<
A
&&>
b
(
""
);