Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr65295.C
blob: 2fa4b05a22eb3c5fd04db8140d29ce3b31f975da [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-std=c++14" }
struct
arr
{
constexpr
arr
()
:
elem
()
{
}
char
elem
[
17
];
};
constexpr
arr f
()
{
arr result
;
return
result
;
}
constexpr
arr a
{
f
()
};
int
main
()
{
}