diff options
Diffstat (limited to 'test/Sema/typedef-retain.c')
-rw-r--r-- | test/Sema/typedef-retain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/typedef-retain.c b/test/Sema/typedef-retain.c index 0ef15fd..5b963c4 100644 --- a/test/Sema/typedef-retain.c +++ b/test/Sema/typedef-retain.c @@ -5,11 +5,11 @@ typedef int int4 __attribute__((vector_size(16))); typedef int4* int4p; void test1(float4 a, int4 *result, int i) { - result[i] = a; // expected-error {{assigning 'float4', expected 'int4'}} + result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}} } void test2(float4 a, int4p result, int i) { - result[i] = a; // expected-error {{assigning 'float4', expected 'int4'}} + result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}} } // PR2039 |