r198479 - Add an additional check in test/Sema/ext_vector_casts.c
Argyrios Kyrtzidis
akyrtzi at gmail.com
Fri Jan 3 22:27:46 PST 2014
Author: akirtzidis
Date: Sat Jan 4 00:27:45 2014
New Revision: 198479
URL: http://llvm.org/viewvc/llvm-project?rev=198479&view=rev
Log:
Add an additional check in test/Sema/ext_vector_casts.c
Modified:
cfe/trunk/test/Sema/ext_vector_casts.c
Modified: cfe/trunk/test/Sema/ext_vector_casts.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/ext_vector_casts.c?rev=198479&r1=198478&r2=198479&view=diff
==============================================================================
--- cfe/trunk/test/Sema/ext_vector_casts.c (original)
+++ cfe/trunk/test/Sema/ext_vector_casts.c Sat Jan 4 00:27:45 2014
@@ -21,6 +21,7 @@ static void test() {
int i;
vec3 += vec2; // expected-error {{can't convert between vector values of different size}}
+ vec4 += vec3; // expected-error {{can't convert between vector values of different size}}
vec4 = 5.0f;
vec4 = (float4)5.0f;
More information about the cfe-commits
mailing list