blob: 83672579130fe6bd3b349e7ba541aa31e21f99c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// error-pattern:common2
import mod1::*;
import mod2::*;
mod mod1 {
fn f1() { #debug("f1"); }
fn common1() { #debug("common") }
fn common2() { #debug("common") }
}
mod mod2 {
fn f2() { #debug("f1"); }
fn common1() { #debug("common") }
fn common2() { #debug("common") }
}
fn main() { common2(); }
|