about summary refs log tree commit diff
path: root/src/test/codegen-units
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-05-22 00:47:21 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-05-23 10:21:50 -0400
commit4386d19185a1059ba89bcd9eb186cbc32f5b477f (patch)
treec56078c5c2d41a252f9e1b23961293704b5aaaaa /src/test/codegen-units
parentda41920919ef4164c91541b8da501e36e9544c0f (diff)
downloadrust-4386d19185a1059ba89bcd9eb186cbc32f5b477f.tar.gz
rust-4386d19185a1059ba89bcd9eb186cbc32f5b477f.zip
trans::collector: Remove some redundant calls to erase_regions().
Diffstat (limited to 'src/test/codegen-units')
-rw-r--r--src/test/codegen-units/item-collection/instantiation-through-vtable.rs2
-rw-r--r--src/test/codegen-units/item-collection/unsizing.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/codegen-units/item-collection/instantiation-through-vtable.rs b/src/test/codegen-units/item-collection/instantiation-through-vtable.rs
index b7725251220..06e547f0dd0 100644
--- a/src/test/codegen-units/item-collection/instantiation-through-vtable.rs
+++ b/src/test/codegen-units/item-collection/instantiation-through-vtable.rs
@@ -40,3 +40,5 @@ fn main() {
     //~ TRANS_ITEM fn instantiation_through_vtable::{{impl}}[0]::bar[0]<u64>
     let _ = &s1 as &Trait;
 }
+
+//~ TRANS_ITEM drop-glue i8
diff --git a/src/test/codegen-units/item-collection/unsizing.rs b/src/test/codegen-units/item-collection/unsizing.rs
index 45ba441bc8b..5c67ab7a826 100644
--- a/src/test/codegen-units/item-collection/unsizing.rs
+++ b/src/test/codegen-units/item-collection/unsizing.rs
@@ -78,3 +78,5 @@ fn main()
     //~ TRANS_ITEM fn unsizing::{{impl}}[3]::foo[0]
     let _wrapper_sized = wrapper_sized as Wrapper<Trait>;
 }
+
+//~ TRANS_ITEM drop-glue i8