blob: ac7ab9c58084bb92267d5a82dd7d485a38ce7b37 [file] [log] [blame]
// PR c++/94155 - crash in gimplifier with paren init of aggregates.
// { dg-do compile { target c++20 } }
struct S { int i, j; };
struct A {
S s;
constexpr A(S e) : s(e) {}
};
void
f()
{
A g[1]({{1, 1}});
}