]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr94726.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr94726.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 typedef unsigned int type __attribute__ ( ( vector_size ( 2*sizeof(int) ) ) ) ;
4 type a , b;
5 /* { dg-message "note: previous declaration" "previous declaration" { target *-*-* } .-1 } */
6 void foo ( void ) {
7 type var = { 2 , 2 } ;
8 b = __builtin_shuffle ( a , var ) ;
9 }
10
11 void * a [ ] = { } ; /* { dg-error "conflicting types" } */