Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr56854.C
blobfc7e30299f686de2f33a7450419c8e02831f8692
1 // PR tree-optimization/56854
2 // { dg-do compile }
4 inline void *
5 operator new (__SIZE_TYPE__, void *p) throw ()
7   return p;
10 struct A
12   int a;
13   A () : a (0) {}
14   ~A () {}
15   A &operator= (const A &v) { this->~A (); new (this) A (v); return *this; }
17 A b[4], c[4];
19 void
20 foo ()
22   for (int i = 0; i < 4; ++i)
23     c[i] = b[i];