2012-07-06 22:45:06 -05:00
|
|
|
// error-pattern: unresolved import
|
2011-05-01 16:22:20 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
import m::unexported;
|
2011-05-01 16:22:20 -05:00
|
|
|
|
|
|
|
mod m {
|
2011-07-27 07:19:39 -05:00
|
|
|
export exported;
|
2011-05-01 16:22:20 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn exported() { }
|
2011-05-01 16:22:20 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn unexported() { }
|
2011-05-01 16:22:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { unexported(); }
|