diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-01-06 05:01:35 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-01-06 05:01:35 +0000 |
| commit | 078f2280855dbc31be5e59c555bedb2cce4db2c1 (patch) | |
| tree | fea1741bf8cfc1519ab3cefca1fb673ffdf68816 /tests/codegen/function-arguments-noopt.rs | |
| parent | 7e4e9ada0fdc294f4dde9cd4a200ae4aa83c8764 (diff) | |
| parent | 5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98 (diff) | |
| download | rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.tar.gz rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.zip | |
Merge from rustc
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) } |
