Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr9.C

raw
1 // PR c++/84927 - ICE with NSDMI and reference
2 // { dg-do compile { target c++14 } }
3
4 struct A
5 {
6 int& r;
7 int i = r;
8 };
9
10 void foo()
11 {
12 int j;
13 A a = A{j};
14 }