PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / expr / assign2.C
blob759584af8d21a2ef7c77c8a4a37014a290695574
1 // PR c++/85141
2 // { dg-options "-w -fpermissive" }
4 struct A
6   static int foo();
7 };
9 void bar(int i)
11   i += A().foo;