Make matrix-type-builtins.m pass also on platforms where the type is 'unsigned long...
authorHans Wennborg <hans@chromium.org>
Thu, 18 Jun 2020 12:06:55 +0000 (14:06 +0200)
committerHans Wennborg <hans@chromium.org>
Thu, 18 Jun 2020 12:06:55 +0000 (14:06 +0200)
clang/test/SemaObjC/matrix-type-builtins.m

index 6319357..8187bff 100644 (file)
@@ -27,5 +27,5 @@ double test_store(MatrixValue *mv, float *Ptr) {
 
   __builtin_matrix_column_major_store(mv.value, mv.value, mv.value);
   // expected-error@-1 {{second argument must be a pointer to a valid matrix element type}}
-  // expected-error@-2 {{casting 'double4x4' (aka 'double __attribute__((matrix_type(4, 4)))') to incompatible type 'unsigned long'}}
+  // expected-error@-2 {{casting 'double4x4' (aka 'double __attribute__((matrix_type(4, 4)))') to incompatible type 'unsigned long}}
 }