summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/vector-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/vector-ops.c')
-rw-r--r--clang/test/Sema/vector-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Sema/vector-ops.c b/clang/test/Sema/vector-ops.c
index 575f38b972f..d8031f0d2f4 100644
--- a/clang/test/Sema/vector-ops.c
+++ b/clang/test/Sema/vector-ops.c
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -Wvector-conversion -triple x86_64-apple-darwin10
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Wvector-conversion -triple x86_64-apple-darwin10 -flax-vector-conversions=all
+// FIXME: We get worse diagnostics here with -flax-vector-conversions disabled.
typedef unsigned int v2u __attribute__ ((vector_size (8)));
typedef int v2s __attribute__ ((vector_size (8)));
typedef float v2f __attribute__ ((vector_size(8)));
OpenPOWER on IntegriCloud