c++: add fixed test [PR101881]

Fixed recently by r15-7822.

	PR c++/101881

gcc/testsuite/ChangeLog:

	* g++.dg/ext/vector44.C: New test.
This commit is contained in:
Marek Polacek 2025-03-25 15:40:25 -04:00
parent 35ce9afc84
commit 7c63237ccf

View file

@ -0,0 +1,5 @@
// PR c++/101881
// { dg-do compile { target c++11 } }
template<int N> using A = int __attribute__((vector_size(N)))*;
void foo(A<4>) {}