1
Fork 0

Add test for resolution errors

This commit is contained in:
Corey Richardson 2013-05-14 00:42:10 -04:00
parent 03f75b629a
commit 52f8b22d4f

View file

@ -8,5 +8,11 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use foo::bar; //~ ERROR unresolved import. maybe a missing
use foo::bar; //~ ERROR unresolved import. maybe a missing `extern mod foo`?
//~^ ERROR failed to resolve import
use x = bar::baz; //~ ERROR unresolved import: could not find `baz` in `bar`
//~^ ERROR failed to resolve import
mod bar {
struct bar;
}