Extend r279588 to g++.dg/ext/sve-sizeless-1.C
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 21 Jan 2020 16:42:27 +0000 (16:42 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 22 Jan 2020 12:24:00 +0000 (12:24 +0000)
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  <richard.sandiford@arm.com>

gcc/testsuite/
* g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias
templates.

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/sve-sizeless-1.C

index a1828a1..fc3d961 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-22  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias
+       templates.
+
 2020-01-22  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/93381
index f82fb2a..7f82922 100644 (file)
@@ -74,7 +74,7 @@ template class templated_struct5<svint8_t>;
 
 #if __cplusplus >= 201103L
 template<int N> using typedef_sizeless1 = svint8_t;
-template<int N> using typedef_sizeless1 = svint8_t; // { dg-error {redefinition of 'template<int N> using typedef_sizeless1 = svint8_t'} "" { target c++11 } }
+template<int N> using typedef_sizeless1 = svint8_t;
 template<typename T> using array = T[2];
 #endif