Debian Codegraph @

gcc/testsuite/g++.dg/opt/placeholder1.C

raw
1 // PR rtl-optimization/15159
2 // { dg-options "-O2" }
3 struct S { S (); };
4 struct P { P (S *); };
5 void foo (const P &);
6 void bar ()
7 {
8 P p = new S;
9 foo (p);
10 }