diff options
| author | Ralf Jung <post@ralfj.de> | 2018-07-29 12:14:51 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-07-29 20:24:26 +0200 |
| commit | 5ba76335bb76e8c31a24d77771885c57614ace9b (patch) | |
| tree | baeeaf79d84499984206792a2447445cceb0787a /src/test/codegen/function-arguments.rs | |
| parent | 3e8337eb3d0b78e989813dd8de9623a7e0919f86 (diff) | |
| download | rust-5ba76335bb76e8c31a24d77771885c57614ace9b.tar.gz rust-5ba76335bb76e8c31a24d77771885c57614ace9b.zip | |
update codegen tests
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
| -rw-r--r-- | src/test/codegen/function-arguments.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/function-arguments.rs b/src/test/codegen/function-arguments.rs index c027dece014..5d5c7ced9f0 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -120,13 +120,13 @@ pub fn unsafe_slice(_: &[UnsafeInner]) { pub fn str(_: &[u8]) { } -// CHECK: @trait_borrow({}* nonnull %arg0.0, {}* noalias nonnull readonly %arg0.1) +// CHECK: @trait_borrow({}* nonnull %arg0.0, [4 x [[USIZE]]]* noalias readonly dereferenceable({{32|16}}) %arg0.1) // FIXME #25759 This should also have `nocapture` #[no_mangle] pub fn trait_borrow(_: &Drop) { } -// CHECK: @trait_box({}* noalias nonnull, {}* noalias nonnull readonly) +// CHECK: @trait_box({}* noalias nonnull, [4 x [[USIZE]]]* noalias readonly dereferenceable({{32|16}})) #[no_mangle] pub fn trait_box(_: Box<Drop>) { } |
