Debian Codegraph @

gcc/testsuite/g++.dg/expr/assign2.C

raw
1 // PR c++/85141
2 // { dg-options "-w -fpermissive" }
3
4 struct A
5 {
6 static int foo();
7 };
8
9 void bar(int i)
10 {
11 i += A().foo;
12 }