* g++.dg/opt/placeholder1.C: New test.

From-SVN: r83427
This commit is contained in:
Richard Sandiford 2004-06-21 06:32:29 +00:00 committed by Richard Sandiford
parent 5c234cd7f4
commit 992d907d5c
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-06-21 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/opt/placeholder1.C: New test.
2004-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/struct-complex-1_x.c: Add dummy symbol.

View File

@ -0,0 +1,10 @@
// PR rtl-optimization/15159
// { dg-options "-O2" }
struct S { S (); };
struct P { P (S *); };
void foo (const P &);
void bar ()
{
P p = new S;
foo (p);
}