summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vmx/gcc-bug-2.c
blob: f2f3c4cfe03ee13373852d30123ba575bf1256ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
#include <altivec.h>
typedef struct n_a {
  signed char m1;
  vector float m2;
} n_a;

typedef struct n_b {
  signed char m1;
  struct n_a m2;
} n_b;

extern void f(n_b *);

void initn_b()
{
   n_b _i;
  f(&_i);
}