| ... | @@ -29436,6 +29436,7 @@ fn coerceVarArgParam( | ... | @@ -29436,6 +29436,7 @@ fn coerceVarArgParam( |
| 29436 | } | 29436 | } |
| 29437 | }, | 29437 | }, |
| 29438 | else => if (uncasted_ty.isAbiInt(mod)) int: { | 29438 | else => if (uncasted_ty.isAbiInt(mod)) int: { |
| | 29439 | if (!try sema.validateExternType(uncasted_ty, .param_ty)) break :int inst; |
| 29439 | const target = sema.mod.getTarget(); | 29440 | const target = sema.mod.getTarget(); |
| 29440 | const uncasted_info = uncasted_ty.intInfo(mod); | 29441 | const uncasted_info = uncasted_ty.intInfo(mod); |
| 29441 | if (uncasted_info.bits <= target.c_type_bit_size(switch (uncasted_info.signedness) { | 29442 | if (uncasted_info.bits <= target.c_type_bit_size(switch (uncasted_info.signedness) { |