diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-30 21:11:30 +0100 |
|---|---|---|
| committer | nils <48135649+Nilstrieb@users.noreply.github.com> | 2023-01-17 16:23:22 +0100 |
| commit | f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6 (patch) | |
| tree | 4b0add72699a923fde3a2c7801330403a369c6ca /tests/codegen/frame-pointer.rs | |
| parent | af23ad93cd3309e90ccb2c49b7a7b2ac913e0d06 (diff) | |
| download | rust-f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6.tar.gz rust-f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6.zip | |
Add more codegen tests
Diffstat (limited to 'tests/codegen/frame-pointer.rs')
| -rw-r--r-- | tests/codegen/frame-pointer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/frame-pointer.rs b/tests/codegen/frame-pointer.rs index da7f2ec8046..d8933262e52 100644 --- a/tests/codegen/frame-pointer.rs +++ b/tests/codegen/frame-pointer.rs @@ -1,4 +1,4 @@ -// compile-flags: --crate-type=rlib +// compile-flags: --crate-type=rlib -Copt-level=0 // revisions: aarch64-apple aarch64-linux force x64-apple x64-linux // [aarch64-apple] needs-llvm-components: aarch64 // [aarch64-apple] compile-flags: --target=aarch64-apple-darwin @@ -20,7 +20,7 @@ trait Copy { } impl Copy for u32 {} -// CHECK: define noundef i32 @peach{{.*}}[[PEACH_ATTRS:\#[0-9]+]] { +// CHECK: define i32 @peach{{.*}}[[PEACH_ATTRS:\#[0-9]+]] { #[no_mangle] pub fn peach(x: u32) -> u32 { x |
