Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr27218.C
blobb1e18dd33a2bf2b745527082f3fbf734e3a17d53
1 /* { dg-do compile } */
3 struct Vector
5     double _x, _y;
6 };
7 typedef Vector Point;
8 Vector d;
9 static inline Vector f(void)
11   return d;
13 void add_duck (void)
15     new Point (f());