2011-05-09 12:40:09 +02:00
|
|
|
// error-pattern: unresolved import
|
2011-05-01 17:22:20 -04:00
|
|
|
|
2011-05-12 17:24:54 +02:00
|
|
|
import m::unexported;
|
2011-05-01 17:22:20 -04:00
|
|
|
|
|
|
|
mod m {
|
2011-07-27 14:19:39 +02:00
|
|
|
export exported;
|
2011-05-01 17:22:20 -04:00
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
fn exported() { }
|
2011-05-01 17:22:20 -04:00
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
fn unexported() { }
|
2011-05-01 17:22:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
fn main() { unexported(); }
|