From 25a60571aff8fcb526b5803dd658b98ffbcace13 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 2 Aug 2019 17:26:02 +0000 Subject: [PATCH] re PR c++/77575 (Bogus error when alias template yielding a reference type used as template template argument) PR c++/77575 * g++.dg/cpp0x/nontype2.C: New test. From-SVN: r274024 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/nontype2.C | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp0x/nontype2.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5d04531..3ba2518 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-08-02 Marek Polacek + + PR c++/77575 + * g++.dg/cpp0x/nontype2.C: New test. + 2019-08-02 Steve Ellcey * gcc.target/aarch64/simd_pcs_attribute.c: New test. diff --git a/gcc/testsuite/g++.dg/cpp0x/nontype2.C b/gcc/testsuite/g++.dg/cpp0x/nontype2.C new file mode 100644 index 0000000..aad2ed5 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/nontype2.C @@ -0,0 +1,7 @@ +// PR c++/77575 +// { dg-do compile { target c++11 } } + +template