Debian Codegraph @

gcc/testsuite/g++.dg/ext/vector43.C

raw
1 // PR c++/102455
2 // { dg-do compile { target c++14 } }
3
4 typedef int v4si;
5 typedef float v4sf __attribute__ ((vector_size(4)));
6 constexpr v4sf foo (v4si a) { return (v4sf)a;}
7 template <class> constexpr v4sf b = foo (v4si {});