libsyntax: Parse "extern mod foo;"
This commit is contained in:
parent
350668579a
commit
138dc3048a
2 changed files with 107 additions and 37 deletions
7
src/test/run-pass/extern-mod-syntax.rs
Normal file
7
src/test/run-pass/extern-mod-syntax.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
extern mod std;
|
||||
use std::map::hashmap;
|
||||
|
||||
fn main() {
|
||||
io::println("Hello world!");
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue