diff options
| author | bors <bors@rust-lang.org> | 2021-03-04 15:16:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-04 15:16:44 +0000 |
| commit | 409920873cf8a95739a55dc5fe5adb05e1b4758e (patch) | |
| tree | 61f0b6eef6363dc987e6c22c7e1d8f521b321a92 /src/test/codegen/function-arguments.rs | |
| parent | ec7f258d543e1ac7d0b94435972331e85da8c509 (diff) | |
| parent | ab03c56ba2df69e5c01d2150a319343543a29ba9 (diff) | |
| download | rust-409920873cf8a95739a55dc5fe5adb05e1b4758e.tar.gz rust-409920873cf8a95739a55dc5fe5adb05e1b4758e.zip | |
Auto merge of #81451 - nikic:llvm-12, r=nagisa
Upgrade to LLVM 12 This implements the necessary adjustments to make rustc work with LLVM 12. I didn't encounter any major issues so far. r? `@cuviper`
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 { |
