]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass/zero-size-type-destructors.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / run-pass / zero-size-type-destructors.rs
index a663ae650c087574611c8156d098a3b5674abc22..18b6c372a5ec2a0ae0e93e437ec9eda5857bdad1 100644 (file)
@@ -8,15 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(rustc_attrs, unsafe_no_drop_flag)]
-
-// ignore-pretty : (#23623) problems when  ending with // comments
-
 static mut destructions : isize = 3;
 
-#[rustc_no_mir] // FIXME #29855 MIR doesn't handle all drops correctly.
 pub fn foo() {
-    #[unsafe_no_drop_flag]
     struct Foo;
 
     impl Drop for Foo {