diff options
| author | beetrees <b@beetr.ee> | 2025-06-12 00:47:01 +0100 |
|---|---|---|
| committer | beetrees <b@beetr.ee> | 2025-06-12 00:47:01 +0100 |
| commit | eb472e77cd3eeb154d163c8d3d23afe5666d367e (patch) | |
| tree | dd4fd7cd0017e4a1c3053ae632d8a4e0304d730d /tests/codegen/pie-relocation-model.rs | |
| parent | e703dff8fe220b78195c53478e83fb2f68d8499c (diff) | |
| download | rust-eb472e77cd3eeb154d163c8d3d23afe5666d367e.tar.gz rust-eb472e77cd3eeb154d163c8d3d23afe5666d367e.zip | |
Apply ABI attributes on return types in `rustc_codegen_cranelift`
Diffstat (limited to 'tests/codegen/pie-relocation-model.rs')
| -rw-r--r-- | tests/codegen/pie-relocation-model.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/pie-relocation-model.rs b/tests/codegen/pie-relocation-model.rs index b10af693452..cb8de91ccd7 100644 --- a/tests/codegen/pie-relocation-model.rs +++ b/tests/codegen/pie-relocation-model.rs @@ -13,7 +13,7 @@ pub fn call_foreign_fn() -> u8 { // External functions are still marked as non-dso_local, since we don't know if the symbol // is defined in the binary or in the shared library. -// CHECK: declare zeroext i8 @foreign_fn() +// CHECK: declare i8 @foreign_fn() extern "C" { fn foreign_fn() -> u8; } |
