diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-11-03 22:47:16 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-28 10:19:44 +0100 |
| commit | 55f345f32505c2095966a5dc46c4ae3290dbf7a1 (patch) | |
| tree | c63abf11491fff3c79291988c21c386d621f0f61 /src/test/codegen/function-arguments.rs | |
| parent | 7c3a914b5d0600331ba9baa4581fc51e919006db (diff) | |
| download | rust-55f345f32505c2095966a5dc46c4ae3290dbf7a1.tar.gz rust-55f345f32505c2095966a5dc46c4ae3290dbf7a1.zip | |
Support LLVM 12 in rustc
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
| -rw-r--r-- | src/test/codegen/function-arguments.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/codegen/function-arguments.rs b/src/test/codegen/function-arguments.rs index 3511c7c5185..a1da4faf5d8 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -1,5 +1,6 @@ // compile-flags: -C no-prepopulate-passes // ignore-tidy-linelength +// min-system-llvm-version: 12.0 #![crate_type = "lib"] #![feature(rustc_attrs)] @@ -73,7 +74,7 @@ pub fn _box(x: Box<i32>) -> Box<i32> { x } -// CHECK: @struct_return(%S* noalias nocapture sret dereferenceable(32){{( %0)?}}) +// CHECK: @struct_return(%S* noalias nocapture sret(%S) dereferenceable(32){{( %0)?}}) #[no_mangle] pub fn struct_return() -> S { S { |
