Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice18.C
blob: 0b5ff701306e23d04e106b59d45ce7239dce82ee [
file
] [
log
] [
blame
]
// PR c++/67831
// { dg-do compile { target c++11 } }
struct
Task
{
struct
TaskStaticData
{
constexpr
TaskStaticData
()
{}
}
const
&
tsd
;
constexpr
Task
()
:
tsd
(
TaskStaticData
())
{}
};
Task
tasks
{
Task
()};