[Patch SRA] Fix PR66119 by calling get_move_ratio in SRA
[official-gcc.git] / gcc / testsuite / g++.dg / pr65295.C
blobc189ee1369f2bfec7957dbcf717b9094d3e5da45
1 // { dg-do compile }
2 // { dg-options "-std=c++1y" }
4 struct arr {
5     constexpr arr() : elem() { }
6     char elem[17];
7 };
9 constexpr 
10 arr f()
12     arr result;
13     return result;
16 constexpr arr a { f() };
18 int main()