Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
crash8.C
blob: 317627a69410ae0a66807f2dd9aeb715faf011e4 [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
A
{
A
();
A
(
A
);
// { dg-error "3:invalid constructor" } copy ctor must take reference
};
int
main
()
{
A a
;
A b
(
a
);
// causes compiler segfault
}