public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] c++: Add unfixed test [PR88003]
@ 2020-08-27 18:05 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-08-27 18:05 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c01b22f12291691d1ce89f82211f00eae4398e18

commit c01b22f12291691d1ce89f82211f00eae4398e18
Author: Marek Polacek <polacek@redhat.com>
Date:   Mon Aug 10 19:57:27 2020 -0400

    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.

Diff:
---
 gcc/testsuite/g++.dg/cpp1y/auto-fn61.C | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gcc/testsuite/g++.dg/cpp1y/auto-fn61.C b/gcc/testsuite/g++.dg/cpp1y/auto-fn61.C
new file mode 100644
index 00000000000..c24c3b85d78
--- /dev/null
+++ b/gcc/testsuite/g++.dg/cpp1y/auto-fn61.C
@@ -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 {};


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-27 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 18:05 [gcc/devel/c++-modules] c++: Add unfixed test [PR88003] Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).