blob: d6911a644a47d64d374c274c05721ca50db501ec [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
typedef unsigned int type __attribute__ ( ( vector_size ( 2*sizeof(int) ) ) ) ;
type a , b;
/* { dg-message "note: previous declaration" "previous declaration" { target *-*-* } .-1 } */
void foo ( void ) {
type var = { 2 , 2 } ;
b = __builtin_shuffle ( a , var ) ;
}
void * a [ ] = { } ; /* { dg-error "conflicting types" } */