diff options
| author | bors <bors@rust-lang.org> | 2024-01-06 14:16:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-06 14:16:04 +0000 |
| commit | 0814a5699fca614661ee3d681ffccad41b3c5565 (patch) | |
| tree | 95fdd1e5026ca6fb3299665c8c0ba76cbab39eb8 /tests/codegen/function-arguments-noopt.rs | |
| parent | d334a4bccfa9529c35be45e3e1a34bf875c01030 (diff) | |
| parent | 46f53c8b5d576f3a9d8ff9c8857dad16f9e0dca7 (diff) | |
| download | rust-0814a5699fca614661ee3d681ffccad41b3c5565.tar.gz rust-0814a5699fca614661ee3d681ffccad41b3c5565.zip | |
Auto merge of #3254 - rust-lang:rustup-2024-01-06, r=saethlin
Automatic Rustup
Diffstat (limited to 'tests/codegen/function-arguments-noopt.rs')
| -rw-r--r-- | tests/codegen/function-arguments-noopt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/function-arguments-noopt.rs b/tests/codegen/function-arguments-noopt.rs index 8fe6c790dda..1bd735cc1af 100644 --- a/tests/codegen/function-arguments-noopt.rs +++ b/tests/codegen/function-arguments-noopt.rs @@ -55,7 +55,7 @@ pub fn struct_call(x: S, f: fn(S) -> S) -> S { f(x) } -// CHECK: { i8, i8 } @enum_(i1 zeroext %x.0, i8 %x.1) +// CHECK: { i1, i8 } @enum_(i1 zeroext %x.0, i8 %x.1) #[no_mangle] pub fn enum_(x: Option<u8>) -> Option<u8> { x @@ -64,6 +64,6 @@ pub fn enum_(x: Option<u8>) -> Option<u8> { // CHECK-LABEL: @enum_call #[no_mangle] pub fn enum_call(x: Option<u8>, f: fn(Option<u8>) -> Option<u8>) -> Option<u8> { - // CHECK: call { i8, i8 } %f(i1 zeroext %x.0, i8 %x.1) + // CHECK: call { i1, i8 } %f(i1 zeroext %x.0, i8 %x.1) f(x) } |
