summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-01 19:22:42 -0700
committerbors <bors@rust-lang.org>2013-06-01 19:22:42 -0700
commitfc5debd8fdda339e1453dc43368f4bfb15459841 (patch)
treea445c8ab39274ce9520ff898a6b71f3702a09b59 /src/test
parent63417daea4058646ef07a880edc79653ddc16bbf (diff)
parent60126e9365e86f9697508455290850564ac9186e (diff)
downloadrust-fc5debd8fdda339e1453dc43368f4bfb15459841.tar.gz
rust-fc5debd8fdda339e1453dc43368f4bfb15459841.zip
auto merge of #6807 : catamorphism/rust/rustpkg-extern-mod, r=catamorphism
r? @graydon Addresses #5681
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/extern-mod-url.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/run-pass/extern-mod-url.rs b/src/test/run-pass/extern-mod-url.rs
new file mode 100644
index 00000000000..457c61067e3
--- /dev/null
+++ b/src/test/run-pass/extern-mod-url.rs
@@ -0,0 +1,16 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// Just a test that new-style extern mods parse
+
+// xfail-test
+extern mod test = "github.com/catamorphism/test-pkg";
+
+fn main() {}
\ No newline at end of file