1/* { dg-do compile { target powerpc*-*-* } } */
2/* { dg-require-effective-target powerpc_altivec_ok } */
3/* { dg-options "-maltivec" } */
4
5#define f0() void x0 (vector float x) { }
6f0 ()
7
8#define f1(type) void x1##type (vector type x) { }
9f1 (float)
10
11#define f2(v, type) void x2##type (v type x) { }
12f2 (vector, float)
13
14#define f3(type) void x3##type (vector bool type x) { }
15f3 (int)
16
17#define f4(v, type) void x4##type (v bool type x) { }
18f4 (vector, int)
19
20#define f5(b, type) void x5##type (vector b type x) { }
21f5 (bool, int)
22
23#define f6(v, b, type) void x6##type (v b type x) { }
24f6 (vector, bool, int)
25
26#define f7(v, b, type) void x7##type (v type b x) { }
27f7 (vector, bool, int)
28
29int vector = 6;
30
31#define v1(v) int x8 (int v) { return v; }
32v1(vector)
33