Skip to content
Snippets Groups Projects
Commit c01b22f1 authored by Marek Polacek's avatar Marek Polacek
Browse files

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.
parent f4b9b136
No related branches found
No related tags found
No related merge requests found
// 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 {};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment