summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr105140.c
blob: 7d30985e850d2cd9924dbeaa8523aec41732c69a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-Os -w -Wno-psabi" } */
/* { dg-skip-if "PR105147" { powerpc*-*-* s390*-*-* } } */

typedef char __attribute__((__vector_size__ (16 * sizeof (char)))) U;
typedef int __attribute__((__vector_size__ (16 * sizeof (int)))) V;

void bar ();

bar (int i, int j, int k, V v)
{
}

void
foo (void)
{
  bar ((V){}, (V){}, (V){}, (U){});
}