gcc/testsuite/gcc.dg/pr105140.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-std=gnu17 -fpermissive -Os -w -Wno-psabi" } */ |
| 3 | /* { dg-skip-if "PR105147" { powerpc*-*-* s390*-*-* } } */ |
| 4 | |
| 5 | typedef char __attribute__((__vector_size__ (16 * sizeof (char)))) U; |
| 6 | typedef int __attribute__((__vector_size__ (16 * sizeof (int)))) V; |
| 7 | |
| 8 | void bar (); |
| 9 | |
| 10 | bar (int i, int j, int k, V v) |
| 11 | { |
| 12 | } |
| 13 | |
| 14 | void |
| 15 | foo (void) |
| 16 | { |
| 17 | bar ((V){}, (V){}, (V){}, (U){}); |
| 18 | } |