1 /* { dg-do compile } */
2 /* { dg-options "-fcilkplus -Wunknown-pragmas" } */
8 __attribute__ ((vector (uniform(x
), vectorlength (), linear (y
:1) ))) /* { dg-error "expected expression" } */
9 int func2 (int x
, int y
)
15 __attribute__ ((vector (uniform(x
), linear (y
:1), vectorlength (4.5) ))) /* { dg-error "vectorlength must be an integer" } */
16 int func3 (int x
, int y
)
22 __attribute__ ((vector (uniform(x
), linear (y
:1), vectorlength (z
) ))) /* { dg-error "vectorlength must be an integer" } */
23 int func4 (int x
, int y
)
29 __attribute__ ((vector (uniform(x
), linear (y
:1), vectorlength (Q
) ))) /* This is OK! */
30 int func5 (int x
, int y
)
36 __attribute__ ((vector (uniform(x
), vectorlength (z
), linear (y
:1)))) /* { dg-error "vectorlength must be an integer" } */
37 int func6 (int x
, int y
)
43 __attribute__ ((vector (uniform(x
), linear (y
:1), vectorlength (sizeof (int)) ))) /* This is OK too! */
44 int func7 (int x
, int y
)
53 for (ii
= 0; ii
< 10; ii
++)