diff options
| author | James Miller <james@aatch.net> | 2017-02-22 09:49:12 +1300 |
|---|---|---|
| committer | James Miller <james@aatch.net> | 2017-02-22 09:49:12 +1300 |
| commit | d80cf80b16660289ebc9765940d02b36ef1032b6 (patch) | |
| tree | cd1317f39f8541d4668effb01feec0751a23bff8 /src/test/codegen/function-arguments.rs | |
| parent | 7af3406a49eb27f54d043cc45e99b986c7f05d7c (diff) | |
| download | rust-d80cf80b16660289ebc9765940d02b36ef1032b6.tar.gz rust-d80cf80b16660289ebc9765940d02b36ef1032b6.zip | |
Update codegen test with new attributes
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 c373cdb76c5..76313b158ab 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -121,13 +121,13 @@ pub fn unsafe_slice(_: &[UnsafeInner]) { fn str(_: &[u8]) { } -// CHECK: @trait_borrow(i8* nonnull, void (i8*)** nonnull) +// CHECK: @trait_borrow(i8* nonnull, void (i8*)** noalias nonnull readonly) // FIXME #25759 This should also have `nocapture` #[no_mangle] fn trait_borrow(_: &Drop) { } -// CHECK: @trait_box(i8* noalias nonnull, void (i8*)** nonnull) +// CHECK: @trait_box(i8* noalias nonnull, void (i8*)** noalias nonnull readonly) #[no_mangle] fn trait_box(_: Box<Drop>) { } |
