1/* { dg-do compile { target powerpc*-*-* } } */
2/* { dg-require-effective-target powerpc_altivec_ok } */
3/* { dg-options "-maltivec" } */
4
5#define f0(type) void x0##type (vector _Bool type x) { }
6f0 (int)
7
8#define f1(v, type) void x1##type (v _Bool type x) { }
9f1 (vector, int)
10
11#define f2(b, type) void x2##type (vector b type x) { }
12f2 (_Bool, int)
13
14#define f3(v, b, type) void x3##type (v b type x) { }
15f3 (vector, _Bool, int)
16
17#define f4(v, b, type) void x4##type (v type b x) { }
18f4 (vector, _Bool, int)
19
20#define B _Bool
21#define I int
22#define BI _Bool int
23#define VBI vector _Bool int
24
25vector _Bool int a;
26vector B int b;
27vector B I c;
28vector BI d;
29VBI e;
30