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