1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin PR27574
3 // { dg-do compile }
4 // { dg-options "-O0 -gdwarf-2" }
5 // { dg-final { scan-assembler "problem" } }
6 
f(int *)7 void f (int *)
8 {
9 }
10 
11 class A
12 {
13 public:
14  A(int i);
15 };
16 
A(int i)17 A::A(int i)
18 {
19  int *problem = new int(i);
20  f (problem);
21 }
22 
23 int
main(void)24 main (void)
25 {
26   A a (0);
27 
28   return 0;
29 }
30 
31