1 /* { dg-do compile } */
2 /* { dg-options "" } */
4 #ifndef __VECTOR_KEYWORD_SUPPORTED__
5 #error __VECTOR_KEYWORD_SUPPORTED__ is not defined
8 /* __vector is expanded unconditionally. */
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;
21 /* vector is expanded conditionally, based on the context. */
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;