blob: cadda2f4764ddd42adc3dec1e476a09b8eeec547 [file] [log] [blame]
struct A {
A();
A(A); // ERROR - copy ctor must take reference
};
int main()
{
A a;
A b(a); // causes compiler segfault
}