From 0c916c58e8c978554415933773f0a105dee754d3 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 17 Jan 2014 01:02:16 -0500 Subject: [PATCH] Make main() public in uninit-empty-types --- src/test/run-pass/uninit-empty-types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/uninit-empty-types.rs b/src/test/run-pass/uninit-empty-types.rs index 622f0f8ab00c9..c8b14d8fbc464 100644 --- a/src/test/run-pass/uninit-empty-types.rs +++ b/src/test/run-pass/uninit-empty-types.rs @@ -16,7 +16,7 @@ use std::unstable::intrinsics; #[deriving(Clone)] struct Foo; -fn main() { +pub fn main() { unsafe { let _x: Foo = intrinsics::uninit(); let _x: [Foo, ..2] = intrinsics::uninit();