blob: bed5ea0cfc0371f0c50bab9c0a3c27c1a18bbcfb [file] [log] [blame]
// PR c++/88003
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fchecking" }
// { dg-ice "poplevel_class" }
auto test() {
struct O {
struct N;
};
return O();
}
typedef decltype(test()) TN;
struct TN::N {};