Commit cb176538 by Richard Sandiford

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  <richard.sandiford@arm.com>

gcc/testsuite/
	* g++.dg/ext/sve-sizeless-1.C: Don't expect an error for alias
	templates.
parent 2b85c088
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> 2020-01-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/93381 PR tree-optimization/93381
......
...@@ -74,7 +74,7 @@ template class templated_struct5<svint8_t>; ...@@ -74,7 +74,7 @@ template class templated_struct5<svint8_t>;
#if __cplusplus >= 201103L #if __cplusplus >= 201103L
template<int N> using typedef_sizeless1 = svint8_t; 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]; template<typename T> using array = T[2];
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment