4 typedef float global_vector_type __attribute__((vector_size(16)));
6 template <class T> struct A
11 template < typename Val > struct S
13 typedef typename A<Val>::type vector_type __attribute__((vector_size(16)));
14 typedef Val vector_type2 __attribute__((vector_size(16)));
15 int pr_size() { return sizeof(vector_type); }
16 int pr_size2() { return sizeof(vector_type2); }
21 if (sizeof (S<float>::vector_type) != sizeof (global_vector_type))
23 if (sizeof (S<float>::vector_type2) != sizeof (global_vector_type))
27 if (x.pr_size() != sizeof (global_vector_type))
29 if (x.pr_size2() != sizeof (global_vector_type))