================
@@ -23,11 +23,19 @@ bool2 test_mismatched_args(bool2 a, bool3 b)
 bool test_incorrect_type(int a)
 {
     return TEST_FUNC(a, a);
-  // expected-error@-1{{invalid operand of type 'int' where 'bool' or a vector 
of such type is required}}
+  // expected-error@-1{{invalid operand of type 'int' where 'bool' or a vector 
or matrix of such type is required}}
 }
 
 bool test_mismatched_scalars(bool a, int b)
 {
   return TEST_FUNC(a, b);
   // expected-error@-1{{all arguments to}}{{_builtin_hlsl_or|_builtin_hlsl_and 
}}{{must have the same type}}
 }
+
+bool2x2 test_mismatched_args(bool2x2 a, bool3x3 b)
----------------
bob80905 wrote:

nit: this matches the name on line 17.  Maybe test_mismatched_matrix_dimensions 
is a better name?

https://github.com/llvm/llvm-project/pull/172384
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to