Make test pass on 32 bit architectures.

llvm-svn: 207268
This commit is contained in:
Benjamin Kramer 2014-04-25 20:49:10 +00:00
parent 1adc8c3391
commit 694acb3375
1 changed files with 1 additions and 1 deletions

View File

@ -51,6 +51,6 @@ typedef short short_sizeof_pointer __attribute__((vector_size(sizeof(void*))));
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'}}
}