1 /* { dg-do compile } */ 2 /* { dg-options "" } */ 3 4 #ifndef __VECTOR_KEYWORD_SUPPORTED__ 5 #error __VECTOR_KEYWORD_SUPPORTED__ is not defined 6 #endif 7 8 /* __vector is expanded unconditionally. */ 9 __vector int vi; 10 __vector unsigned char vuc; 11 __vector signed char vsc; 12 __vector unsigned short vus; 13 __vector signed short vss; 14 __vector unsigned int vui; 15 __vector signed int vsi; 16 __vector unsigned long long ull; 17 __vector signed long long sll; 18 __vector float vf; 19 __vector double vd; 20 21 /* vector is expanded conditionally, based on the context. */ 22 vector int vi; 23 vector unsigned char vuc; 24 vector signed char vsc; 25 vector unsigned short vus; 26 vector signed short vss; 27 vector unsigned int vui; 28 vector signed int vsi; 29 vector unsigned long long ull; 30 vector signed long long sll; 31 vector float vf; 32 vector double vd; 33