Debian Codegraph @

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

raw
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 }