[committed] Extend r279588 to g++.dg/ext/sve-sizeless-1.C
diff mbox series

Message ID mpto8uvsmle.fsf@arm.com
State New
Headers show
Series
  • [committed] Extend r279588 to g++.dg/ext/sve-sizeless-1.C
Related show

Commit Message

Richard Sandiford Jan. 22, 2020, 12:27 p.m. UTC
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.

Tested on aarch64-linux-gnu and aarch64_be-elf, applied.

Richard


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/g++.dg/ext/sve-sizeless-1.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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<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