OSDN Git Service

2009-07-17 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / torture / pr37456.C
1 /* { dg-do compile } */
2
3 int zot(int);
4 struct bar {
5   ~bar() { }
6 };
7 int x;
8 void doit(int a, int b, int c)
9 {
10   bar pn;
11   int b1 = zot(a) * c;
12   int b2 = zot(b) * c;
13   x = b1 + b2;
14 }