diff options
Diffstat (limited to 'src/test/incremental/remove_crate')
-rw-r--r-- | src/test/incremental/remove_crate/auxiliary/extern_crate.rs | 3 | ||||
-rw-r--r-- | src/test/incremental/remove_crate/main.rs | 24 |
2 files changed, 0 insertions, 27 deletions
diff --git a/src/test/incremental/remove_crate/auxiliary/extern_crate.rs b/src/test/incremental/remove_crate/auxiliary/extern_crate.rs deleted file mode 100644 index 1cafdf49d..000000000 --- a/src/test/incremental/remove_crate/auxiliary/extern_crate.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub fn foo(_: u8) { - -} diff --git a/src/test/incremental/remove_crate/main.rs b/src/test/incremental/remove_crate/main.rs deleted file mode 100644 index 14b80df0d..000000000 --- a/src/test/incremental/remove_crate/main.rs +++ /dev/null @@ -1,24 +0,0 @@ -// Test that removing an upstream crate does not cause any trouble. - -// revisions:rpass1 rpass2 -// aux-build:extern_crate.rs - -#[cfg(rpass1)] -extern crate extern_crate; - -pub fn main() { - #[cfg(rpass1)] - { - extern_crate::foo(1); - } - - #[cfg(rpass2)] - { - foo(1); - } -} - -#[cfg(rpass2)] -pub fn foo(_: u8) { - -} |