summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/convert-vec-1.c
blob: 4987298407363ea7269dc178a5ec9f12bc887f48 (plain)
1
2
3
/* { dg-do compile } */
typedef float v2sf __attribute__ ((vector_size (8)));
v2sf sub (void) { return (v2sf) 0.0; } /* { dg-error "can't convert" } */