aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/vector-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/vector-init.c')
-rw-r--r--test/Sema/vector-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/vector-init.c b/test/Sema/vector-init.c
index 5be040ae6c11d..9f27bb882e667 100644
--- a/test/Sema/vector-init.c
+++ b/test/Sema/vector-init.c
@@ -40,5 +40,5 @@ typedef short __attribute__((vector_size(8))) short4;
void test3() {
extern short8 test3_helper(void);
longlong2 arr1[2] = { test3_helper(), test3_helper() };
- short4 arr2[2] = { test3_helper(), test3_helper() }; // expected-error 2 {{initializing 'short4' with an expression of incompatible type 'short8'}}
+ short4 arr2[2] = { test3_helper(), test3_helper() }; // expected-error 2 {{initializing 'short4' (vector of 4 'short' values) with an expression of incompatible type 'short8' (vector of 8 'short' values)}}
}