Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr90194.C

raw
1 // { dg-do compile }
2 // { dg-additional-options "-g" }
3
4 struct cb {
5 int yr;
6 };
7
8 void *
9 operator new (__SIZE_TYPE__, void *nq)
10 {
11 return nq;
12 }
13
14 void
15 af (int xn)
16 {
17 new (&xn) cb { };
18 }