about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tests/run/int.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-08-26 17:18:15 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-08-26 17:18:15 +0200
commit17137135aeb281e3abf2c41740633aa3c4042e17 (patch)
treec71062c080809718894fca972ccd84c64abfe2e5 /compiler/rustc_codegen_gcc/tests/run/int.rs
parent4356e83c77cb28113411fb8e2219127f708095b5 (diff)
parentfeb42827f11a7ae241ceecc81e9ae556fb6ba214 (diff)
downloadrust-17137135aeb281e3abf2c41740633aa3c4042e17.tar.gz
rust-17137135aeb281e3abf2c41740633aa3c4042e17.zip
Merge commit 'feb42827f11a7ae241ceecc81e9ae556fb6ba214' into subtree-update_cg_gcc_2025-08-26
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/run/int.rs')
-rw-r--r--compiler/rustc_codegen_gcc/tests/run/int.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/int.rs b/compiler/rustc_codegen_gcc/tests/run/int.rs
index e20ecc23679..78675acb544 100644
--- a/compiler/rustc_codegen_gcc/tests/run/int.rs
+++ b/compiler/rustc_codegen_gcc/tests/run/int.rs
@@ -7,12 +7,10 @@ fn main() {
     use std::hint::black_box;
 
     macro_rules! check {
-        ($ty:ty, $expr:expr) => {
-            {
-                const EXPECTED: $ty = $expr;
-                assert_eq!($expr, EXPECTED);
-            }
-        };
+        ($ty:ty, $expr:expr) => {{
+            const EXPECTED: $ty = $expr;
+            assert_eq!($expr, EXPECTED);
+        }};
     }
 
     check!(u32, (2220326408_u32 + black_box(1)) >> (32 - 6));