Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-104226.C

raw
1 // PR c++/104226
2 // { dg-do compile }
3 // { dg-options "-Wno-psabi" }
4
5 typedef unsigned short __attribute__((__vector_size__(16))) U;
6 typedef unsigned int __attribute__((__vector_size__(16))) V;
7 typedef unsigned int __attribute__((__vector_size__(32))) W;
8
9 U
10 foo (void)
11 {
12 return __builtin_convertvector (__builtin_shufflevector ((V){}, (W){},
13 0, 0, 1, 0,
14 5, 5, 0, 2), U);
15 }