From cb17653866c372ef173506d661a5f812542bc81f Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 21 Jan 2020 16:42:27 +0000 Subject: [PATCH] Extend r279588 to g++.dg/ext/sve-sizeless-1.C In r279588 I'd for some reason only patched g++.dg/ext/sve-sizeless-2.C, even though g++.dg/ext/sve-sizeless-1.C has the same problem. 2020-01-22 Richard Sandiford gcc/testsuite/ * g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias templates. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/ext/sve-sizeless-1.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a1828a14f10..fc3d9618c8e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-01-22 Richard Sandiford + + * g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias + templates. + 2020-01-22 Richard Biener PR tree-optimization/93381 diff --git a/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C b/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C index f82fb2a9a9e..7f829220c71 100644 --- a/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C +++ b/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C @@ -74,7 +74,7 @@ template class templated_struct5; #if __cplusplus >= 201103L template using typedef_sizeless1 = svint8_t; -template using typedef_sizeless1 = svint8_t; // { dg-error {redefinition of 'template using typedef_sizeless1 = svint8_t'} "" { target c++11 } } +template using typedef_sizeless1 = svint8_t; template using array = T[2]; #endif -- 2.30.2