diff options
Diffstat (limited to 'gcc/testsuite/c-c++-common/convert-vec-1.c')
-rw-r--r-- | gcc/testsuite/c-c++-common/convert-vec-1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/convert-vec-1.c b/gcc/testsuite/c-c++-common/convert-vec-1.c new file mode 100644 index 0000000..4987298 --- /dev/null +++ b/gcc/testsuite/c-c++-common/convert-vec-1.c @@ -0,0 +1,3 @@ +/* { dg-do compile } */ +typedef float v2sf __attribute__ ((vector_size (8))); +v2sf sub (void) { return (v2sf) 0.0; } /* { dg-error "can't convert" } */ |