summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/vector-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/vector-init.c')
-rw-r--r--clang/test/Sema/vector-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/vector-init.c b/clang/test/Sema/vector-init.c
index 5be040ae6c1..9f27bb882e6 100644
--- a/clang/test/Sema/vector-init.c
+++ b/clang/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)}}
}
OpenPOWER on IntegriCloud