blob: c63f0b02c652709ca0409824ea17f1af4ccb7db1 [file] [log] [blame]
// Test that initializing an aggregate with complex copy constructor
// and assignment ops doesn't cause cp_expr_size to abort.
struct A
{
A();
A(const A&);
A& operator=(const A&);
};
struct B
{
A a;
};
int main ()
{
B b = { A() };
}