Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/auto-fn61.C

raw
1 // PR c++/88003
2 // { dg-do compile { target c++14 } }
3 // { dg-additional-options "-fchecking" }
4 // { dg-ice "poplevel_class" }
5
6 auto test() {
7 struct O {
8 struct N;
9 };
10 return O();
11 }
12
13 typedef decltype(test()) TN;
14 struct TN::N {};