Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
defarg5.C
blob: ba15d96762dfaca63afcf82951e209263b202962 [
file
] [
log
] [
blame
]
// Bug: the SAVE_EXPR in the new expression remembers that it's in g(),
// causing the compiler to crash in h().
// Build don't link:
struct
A
{
A
();
};
void
f
(
A
*
=
new
A
);
void
g
()
{
f
();
}
void
h
()
{
f
();
}