================
@@ -34,21 +34,22 @@ void test_invalid_call_1(int s) {
 
 int some_func2(int a, int b);
 void test_invalid_call_2() {
-  // CHECK:   -RecoveryExpr {{.*}} 'int' contains-errors
+  // CHECK:   -RecoveryExpr {{.*}} '<dependent type>' contains-errors
----------------
mizvekov wrote:

FWIW I think its regression if we produce dependent types for error recovery, 
outside of templated contexts.
In general this will lead to crashes in error recovery, esp with concepts.

Though we don't have anything better than `int` for the type in this case. Can 
we keep the int?

https://github.com/llvm/llvm-project/pull/136295
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to