Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
vector-1.c
blob: 027d177794350d8934d1f63c65a6bbbbff5a174a [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "" } */
/* Check for application of ~ on vector types. */
#define
vector
__attribute__
((
vector_size
(
16
)
))
vector
float
a
;
vector
int
a1
;
void
f
(
void
)
{
a
=
~
a
;
/* { dg-error "" } */
a1
=
~
a1
;
}