summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr105140.c
blob: da34e7ad6566bb431ebfbe28850139241ead6f46 (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*-*-* } } */

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){});
}