[cfe-commits] r50983 - /cfe/trunk/test/Sema/vector-assign.c
Chris Lattner
sabre at nondot.org
Mon May 12 11:31:18 PDT 2008
Author: lattner
Date: Mon May 12 13:31:17 2008
New Revision: 50983
URL: http://llvm.org/viewvc/llvm-project?rev=50983&view=rev
Log:
testcase for PR2263, fixed by Nate's r50903 patch.
Modified:
cfe/trunk/test/Sema/vector-assign.c
Modified: cfe/trunk/test/Sema/vector-assign.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/vector-assign.c?rev=50983&r1=50982&r2=50983&view=diff
==============================================================================
--- cfe/trunk/test/Sema/vector-assign.c (original)
+++ cfe/trunk/test/Sema/vector-assign.c Mon May 12 13:31:17 2008
@@ -37,3 +37,9 @@
v5 = v3; // expected-error {{incompatible type assigning 'v1s', expected 'v4ss'}}
v5 = v4; // expected-error {{incompatible type assigning 'v2f', expected 'v4ss'}}
}
+
+// PR2263
+float f2(__attribute__((vector_size(16))) float a, int b) {
+ return a[b];
+}
+
More information about the cfe-commits
mailing list