diff options
| author | Tshepang Mbambo <hopsi@tuta.io> | 2025-09-08 06:25:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-08 06:25:38 +0200 |
| commit | 177583d2c04005c94798399f5ddeeed21c79f768 (patch) | |
| tree | e3898e64dcb04dfabd6e758cf6a2fe07192af4be /compiler/rustc_codegen_gcc/tests/run/int_overflow.rs | |
| parent | e65952c779ebb5a0c3157625213aa70ae390c237 (diff) | |
| parent | 7dcb968a2e64dfc89c8edf2536be2d6818a43a09 (diff) | |
| download | rust-177583d2c04005c94798399f5ddeeed21c79f768.tar.gz rust-177583d2c04005c94798399f5ddeeed21c79f768.zip | |
Merge pull request #2582 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/run/int_overflow.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/tests/run/int_overflow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/int_overflow.rs b/compiler/rustc_codegen_gcc/tests/run/int_overflow.rs index 78872159f62..78e1cac57e0 100644 --- a/compiler/rustc_codegen_gcc/tests/run/int_overflow.rs +++ b/compiler/rustc_codegen_gcc/tests/run/int_overflow.rs @@ -12,7 +12,7 @@ fn main() { let arg_count = std::env::args().count(); let int = isize::MAX; - let _int = int + arg_count as isize; // overflow + let _int = int + arg_count as isize; // overflow // If overflow checking is disabled, we should reach here. #[cfg(not(debug_assertions))] |
