1 // PR c++/41611
2 // { dg-final { scan-assembler-not "_ZGVZN1A1fEvE1i" } }
3 
4 struct A {
fA5   static int f()
6   {
7     static int &i = *new int();
8     return i;
9   }
10 };
11