diff options
| author | Ralf Jung <post@ralfj.de> | 2018-07-29 12:34:19 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-07-29 20:24:26 +0200 |
| commit | 86e59ccf34214e33273af145df13a771607dc42e (patch) | |
| tree | b82966fac9da50136b4380be12bebb51f75b48e7 /src/test/codegen/function-arguments.rs | |
| parent | 5ba76335bb76e8c31a24d77771885c57614ace9b (diff) | |
| download | rust-86e59ccf34214e33273af145df13a771607dc42e.tar.gz rust-86e59ccf34214e33273af145df13a771607dc42e.zip | |
dont hardcode vtable size in codegen test
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 5d5c7ced9f0..09031508da1 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, [4 x [[USIZE]]]* noalias readonly dereferenceable({{32|16}}) %arg0.1) +// CHECK: @trait_borrow({}* nonnull %arg0.0, [4 x [[USIZE]]]* noalias readonly dereferenceable({{.*}}) %arg0.1) // FIXME #25759 This should also have `nocapture` #[no_mangle] pub fn trait_borrow(_: &Drop) { } -// CHECK: @trait_box({}* noalias nonnull, [4 x [[USIZE]]]* noalias readonly dereferenceable({{32|16}})) +// CHECK: @trait_box({}* noalias nonnull, [4 x [[USIZE]]]* noalias readonly dereferenceable({{.*}})) #[no_mangle] pub fn trait_box(_: Box<Drop>) { } |
