PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / nrv7.C
blobc5034ecc0f21fa47ab05a8ed81c8a9867a63054d
1 // PR c++/15461
3 struct A {  
4     int i;  
5 };  
6   
7 inline A foo () {  
8     int j = 1; 
9     A a = { j }; 
10     return a;  
11
13 A tv = foo();