[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / alias-canon3.C
blob22e29e8ad582de8c1c6c6596b8b48005c0acfbea
1 // { dg-do compile }
2 // PR c++/66270
4 typedef float __m256 __attribute__ (( __vector_size__(32), __may_alias__ ));
5 struct A {
6   __m256 ymm;
7   const float &f() const;
8 };
10 const float &A::f() const {
11   return ymm[1];