From: Richard Sandiford Date: Tue, 21 Jan 2020 16:42:27 +0000 (+0000) Subject: Extend r279588 to g++.dg/ext/sve-sizeless-1.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb17653866c372ef173506d661a5f812542bc81f;p=gcc.git 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. --- 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