diff --git a/src/test/run-pass/newtype-struct-with-dtor.rs b/src/test/run-pass/newtype-struct-with-dtor.rs index f4a059018d2..b33bfa0388a 100644 --- a/src/test/run-pass/newtype-struct-with-dtor.rs +++ b/src/test/run-pass/newtype-struct-with-dtor.rs @@ -11,7 +11,7 @@ impl Drop for Fd { } } -fn main() { +pub fn main() { }