2011-12-02 17:20:03 +01:00
|
|
|
// error-pattern:unresolved import
|
2011-05-31 18:24:06 -07:00
|
|
|
|
|
|
|
mod m1 {
|
2011-12-22 14:42:52 -08:00
|
|
|
fn foo() { #debug("foo"); }
|
2011-05-31 18:24:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mod m2 {
|
2011-07-27 14:19:39 +02:00
|
|
|
import m1::foo;
|
2011-05-31 18:24:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mod m3 {
|
2011-07-27 14:19:39 +02:00
|
|
|
import m2::foo;
|
2011-05-31 18:24:06 -07:00
|
|
|
}
|
|
|
|
|
2011-08-19 15:16:48 -07:00
|
|
|
fn main() { }
|