diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2024-01-24 14:57:21 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2024-01-24 14:57:21 +0000 |
| commit | e23937c6d32410ef00420c4656d250b4be0064c8 (patch) | |
| tree | dd45f5060cf37a58e270a1549cea45ee9c7255cf /tests/codegen | |
| parent | cd6d8f2a04528f827ad3d399581c0f3502b15a72 (diff) | |
| download | rust-e23937c6d32410ef00420c4656d250b4be0064c8.tar.gz rust-e23937c6d32410ef00420c4656d250b4be0064c8.zip | |
adapt test for v0 symbol mangling
No functional changes intended. Adapts the test to also work under new-symbol-mangling = true.
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/infallible-unwrap-in-opt-z.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/infallible-unwrap-in-opt-z.rs b/tests/codegen/infallible-unwrap-in-opt-z.rs index 5c57b41532f..e8ab77f8d20 100644 --- a/tests/codegen/infallible-unwrap-in-opt-z.rs +++ b/tests/codegen/infallible-unwrap-in-opt-z.rs @@ -21,6 +21,6 @@ pub fn read_up_to_8(buf: &[u8]) -> u64 { // CHECK-LABEL: @checking_unwrap_expectation( #[no_mangle] pub fn checking_unwrap_expectation(buf: &[u8]) -> &[u8; 4] { - // CHECK: call void @_ZN4core6result13unwrap_failed17h + // CHECK: call void @{{.*core6result13unwrap_failed}} buf.try_into().unwrap() } |
