]> git.lizzy.rs Git - rust.git/commitdiff
Fix codegen-units tests
authorJames Miller <james@aatch.net>
Sun, 17 Apr 2016 04:35:37 +0000 (16:35 +1200)
committerJames Miller <james@aatch.net>
Thu, 28 Apr 2016 01:18:51 +0000 (13:18 +1200)
I'm not sure what the signficance of `drop-glue i8` is, nor why one of
the tests had it appear while the others had it disappear. Either way it
doesn't seem like the presence or absense of it is the focus of the
tests.

src/test/codegen-units/item-collection/statics-and-consts.rs
src/test/codegen-units/partitioning/inlining-from-extern-crate.rs
src/test/codegen-units/partitioning/local-inlining.rs
src/test/codegen-units/partitioning/local-transitive-inlining.rs

index 89bc620b7c552933226c9ad28a060329aaa23fed..7c8b2b117ef7ce51fb1bed5d26a7a66155b497e4 100644 (file)
@@ -60,3 +60,5 @@ fn main() {
 //~ TRANS_ITEM static statics_and_consts::foo[0]::STATIC2[2]
 
 //~ TRANS_ITEM fn statics_and_consts::main[0]
+
+//~ TRANS_ITEM drop-glue i8
index f4732a7bcf8fb5634b92a2a02d6d27cf97a17420..469f2c08c39c2abbefc8cd82cb2181b9bacd6086 100644 (file)
@@ -57,5 +57,3 @@ pub fn user()
         cgu_explicit_inlining::never_inlined();
     }
 }
-
-//~ TRANS_ITEM drop-glue i8
index dfd8f725b61dddab55efdd878cca6cfc1879d7e0..d2bfa83834665e28d0de8df53258c65e6e0489fe 100644 (file)
@@ -50,5 +50,3 @@ fn baz() {
 
     }
 }
-
-//~ TRANS_ITEM drop-glue i8
index ea3a1cd34be32bf42a455a3a03aa3a3a66e97b62..2e47dc5c9020f23e65913e470064bea432e3a9d1 100644 (file)
@@ -50,5 +50,3 @@ fn baz() {
 
     }
 }
-
-//~ TRANS_ITEM drop-glue i8