diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-06-25 12:42:55 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-11-19 02:14:28 +0200 |
| commit | 8afa3a01e61906459a25d305176137e14ba3f835 (patch) | |
| tree | d41af664e548e4364deb5cbf662fb15137ae1c3f /src/test/codegen/function-arguments.rs | |
| parent | 0a1fcc32a65c87646fe1613ea00c9447f04a646b (diff) | |
| download | rust-8afa3a01e61906459a25d305176137e14ba3f835.tar.gz rust-8afa3a01e61906459a25d305176137e14ba3f835.zip | |
rustc_trans: always insert alignment padding, even before the first field.
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 0bacb816241..5d073670d86 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -9,6 +9,7 @@ // except according to those terms. // compile-flags: -C no-prepopulate-passes +// ignore-tidy-linelength #![crate_type = "lib"] #![feature(custom_attribute)] @@ -132,7 +133,7 @@ pub fn trait_borrow(_: &Drop) { pub fn trait_box(_: Box<Drop>) { } -// CHECK: { [0 x i16]*, [[USIZE]] } @return_slice(i16* noalias nonnull readonly %x.ptr, [[USIZE]] %x.meta) +// CHECK: { [0 x i8], [0 x i16]*, [0 x i8], [[USIZE]], [0 x i8] } @return_slice(i16* noalias nonnull readonly %x.ptr, [[USIZE]] %x.meta) #[no_mangle] pub fn return_slice(x: &[u16]) -> &[u16] { x |
