Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-51707.C
blob: ae02a31c540b1a5ca42faae93ea581c38c956a7a [
file
] [
log
] [
blame
]
// PR c++/51707
// { dg-do compile { target c++11 } }
struct
S
{
constexpr
S
()
{}
};
struct
T
{
constexpr
T
(
S
const
&
s
)
:
s
{
s
}
{}
S
const
&
s
;
};
constexpr
S s
{};
constexpr
T t
{
s
};