Debian Codegraph @

gcc/testsuite/c-c++-common/vector-1.c

raw
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 void f(void)
12 {
13 a = ~a; /* { dg-error "" } */
14 a1 = ~a1;
15 }