From 029c1e71ff8a293b35091fb2d75a7d542453bf7c Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 23 May 2011 23:12:35 -0400 Subject: [PATCH] test: Remove compile-fail/export-boot.rs This was a rustboot-specific test which is covered by other tests in rustc. --- src/test/compile-fail/export-boot.rs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/test/compile-fail/export-boot.rs diff --git a/src/test/compile-fail/export-boot.rs b/src/test/compile-fail/export-boot.rs deleted file mode 100644 index 75b9de2886b..00000000000 --- a/src/test/compile-fail/export-boot.rs +++ /dev/null @@ -1,21 +0,0 @@ -// xfail-stage0 -// xfail-stage1 -// xfail-stage2 -// error-pattern: unknown module item - -// rustboot has a different error message than rustc -// this test can die with rustboot, or rustc's error can change - -mod foo { - export x; - fn x(int y) { - log y; - } - fn z(int y) { - log y; - } -} - -fn main() { - foo::z(10); -}