Debian Codegraph @

gcc/testsuite/g++.dg/pr105871.C

raw
1 // PR c++/105871
2 // { dg-do compile }
3 // { dg-options "-Wno-psabi" }
4
5 typedef __attribute__((__vector_size__ ( 1))) unsigned char U;
6 typedef __attribute__((__vector_size__ (16))) unsigned char V;
7
8 U
9 foo (void)
10 {
11 return __builtin_shufflevector ((U){}, (V){}, 0);
12 }