aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vmx/debug-1.c
blob: c92435e09cb923e474fbf64c8a5339a7e3ab4294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <altivec.h>
vector unsigned char v;
typedef unsigned char T[16];
T t;
typedef struct { unsigned char a[16]; } R;
R r;
typedef union {
  unsigned char u8[16];
  signed char s8[16];
  unsigned short u16[8];
  signed short s16[8];
  unsigned int u32[4];
  signed int s32[4];
  float f32[4];
} U;
U u;
static void use(void *p) {
}
int main() {
  use (&v);
  use (&t);
  use (&r);
  use (&u);
  return 0;
}