Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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 "" }