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