r207268 - Make test pass on 32 bit architectures.

Benjamin Kramer benny.kra at googlemail.com
Fri Apr 25 13:49:10 PDT 2014


Author: d0k
Date: Fri Apr 25 15:49:10 2014
New Revision: 207268

URL: http://llvm.org/viewvc/llvm-project?rev=207268&view=rev
Log:
Make test pass on 32 bit architectures.

Modified:
    cfe/trunk/test/Sema/vector-cast.c

Modified: cfe/trunk/test/Sema/vector-cast.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/vector-cast.c?rev=207268&r1=207267&r2=207268&view=diff
==============================================================================
--- cfe/trunk/test/Sema/vector-cast.c (original)
+++ cfe/trunk/test/Sema/vector-cast.c Fri Apr 25 15:49:10 2014
@@ -51,6 +51,6 @@ typedef short short_sizeof_pointer __att
 void f5() {
   short_sizeof_pointer v;
   void *ptr;
-  v = ptr; // expected-error {{assigning to 'short_sizeof_pointer' (vector of 4 'short' values) from incompatible type 'void *'}}
+  v = ptr; // expected-error-re {{assigning to 'short_sizeof_pointer' (vector of {{[0-9]+}} 'short' values) from incompatible type 'void *'}}
   ptr = v; // expected-error {{assigning to 'void *' from incompatible type 'short_sizeof_pointer'}}
 }





More information about the cfe-commits mailing list