1// PR c++/15461
2
3struct A {
4    int i;
5};
6
7inline A foo () {
8    int j = 1;
9    A a = { j };
10    return a;
11}
12
13A tv = foo();
14