aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/ext_vector_casts.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-26 00:42:16 +0000
committerEric Christopher <echristo@apple.com>2010-08-26 00:42:16 +0000
commite84f9ebf8c89d5600f5930b65a0df0de890791b2 (patch)
tree88cc9391370f201d3d557ae5556fd62b11e5a141 /test/Sema/ext_vector_casts.c
parent9214819c7d4b24fd1b38480d845d8e345d8f0196 (diff)
With lax vector conversions (the default) make sure we convert between two
vectors that are the same size. Fix up testcases accordingly and add a new one to make sure we still error if lax vector conversions are disabled. Fixes rdar://8328190 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/ext_vector_casts.c')
-rw-r--r--test/Sema/ext_vector_casts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/ext_vector_casts.c b/test/Sema/ext_vector_casts.c
index 76819534db..75d41ca077 100644
--- a/test/Sema/ext_vector_casts.c
+++ b/test/Sema/ext_vector_casts.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fno-lax-vector-conversions %s
typedef __attribute__(( ext_vector_type(2) )) float float2;
typedef __attribute__(( ext_vector_type(4) )) int int4;