Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vector34.C
blob: 5cca53070b276dac4945ce47dc7707d169c7f857 [
file
] [
log
] [
blame
]
// PR c++/84424
// { dg-do compile { target c++11 } }
// { dg-options "" }
typedef
int
vec __attribute__
((
vector_size
(
2
*
sizeof
(
int
))));
constexpr
vec u
=
{
1
,
2
};
constexpr
vec v
=
__builtin_shuffle
(
v
,
u
);
// { dg-error "" }