Debian Codegraph @

gcc/testsuite/gcc.dg/pr110699.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 typedef __attribute__((__vector_size__(64))) int T;
5
6 void f(void) {
7 extern char a[64], b[64]; /* { dg-message "previous" "note" } */
8 void *p = a;
9 T q = *(T *)&b[0];
10 }
11
12 void g() {
13 extern char b; /* { dg-error "conflicting types" } */
14 }