summary refs log tree commit diff
path: root/src/test/compile-fail/import4.rs
blob: 22068f1badf006b02944c3a52e8e1e131aa64f74 (plain)
1
2
3
4
5
6
7
8
// 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"); }