c++: Add unfixed test [PR88003]
Now that dg-ice is available, let's try it out. gcc/testsuite/ChangeLog: PR c++/88003 * g++.dg/cpp1y/auto-fn61.C: New test.
This commit is contained in:
parent
f4b9b13680
commit
c01b22f122
1 changed files with 13 additions and 0 deletions
13
gcc/testsuite/g++.dg/cpp1y/auto-fn61.C
Normal file
13
gcc/testsuite/g++.dg/cpp1y/auto-fn61.C
Normal file
|
@ -0,0 +1,13 @@
|
|||
// PR c++/88003
|
||||
// { dg-do compile { target c++14 } }
|
||||
// { dg-ice "poplevel_class" }
|
||||
|
||||
auto test() {
|
||||
struct O {
|
||||
struct N;
|
||||
};
|
||||
return O();
|
||||
}
|
||||
|
||||
typedef decltype(test()) TN;
|
||||
struct TN::N {};
|
Loading…
Add table
Reference in a new issue