rust/src/test/compile-fail/import4.rs

9 lines
201 B
Rust

// error-pattern: import
mod a {
#[legacy_exports]; import foo = b::foo; export foo; }
mod b {
#[legacy_exports]; import foo = a::foo; export foo; }
fn main(args: ~[str]) { debug!("loop"); }