repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* fi.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
vector-1.c
blob
288dd1e924c1e9c49e6e982ab94bcb9203c7b92b
1
/* { dg-do compile } */
2
/* { dg-options "" } */
3
4
/* Check for application of ~ on vector types. */
5
6
#define vector __attribute__((vector_size(16) ))
7
8
vector
float
a
;
9
vector
int
a1
;
10
11
int
f
(
void
)
12
{
13
a
= ~
a
;
/* { dg-error "" } */
14
a1
= ~
a1
;
15
}