From 3645c6e286c4677815e0eeeb8c8aefa759795bd0 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Sun, 9 Jun 2019 23:18:28 +0000 Subject: [PATCH] re PR c++/65175 (ICE forming a typedef with an alias template) PR c++/65175 * g++.dg/cpp0x/alias-decl-69.C: New test. From-SVN: r272098 --- gcc/testsuite/ChangeLog | 3 ++ gcc/testsuite/g++.dg/cpp0x/alias-decl-69.C | 40 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp0x/alias-decl-69.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fc0d76df434..8f5eba984a7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2019-06-09 Marek Polacek + PR c++/65175 + * g++.dg/cpp0x/alias-decl-69.C: New test. + PR c++/60366 * g++.dg/cpp0x/lambda/lambda-ice32.C: New test. diff --git a/gcc/testsuite/g++.dg/cpp0x/alias-decl-69.C b/gcc/testsuite/g++.dg/cpp0x/alias-decl-69.C new file mode 100644 index 00000000000..7dd7aa2379c --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/alias-decl-69.C @@ -0,0 +1,40 @@ +// PR c++/65175 +// { dg-do compile { target c++11 } } + +template using au = typename a::av; +template using az = a; +template