diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-01-25 17:54:38 -0500 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-01-25 17:54:38 -0500 |
| commit | 9e2324ad1e3f2abf528fbbbdafe2cb8a18c3151d (patch) | |
| tree | 615761fcdd6398a35d24c07418ded85751a87e91 /src/test/compile-fail | |
| parent | Un-XFAIL a couple more rustc tests that have started working recently. (diff) | |
| download | rust-9e2324ad1e3f2abf528fbbbdafe2cb8a18c3151d.tar.xz rust-9e2324ad1e3f2abf528fbbbdafe2cb8a18c3151d.zip | |
Small first step in expr_path. Call find_final_def just to detect
unresolved names. find_final_def is going to be extended to return the
final expr.
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/bad-expr-path.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/compile-fail/bad-expr-path.rs b/src/test/compile-fail/bad-expr-path.rs new file mode 100644 index 00000000..97c95c01 --- /dev/null +++ b/src/test/compile-fail/bad-expr-path.rs @@ -0,0 +1,8 @@ +// error-pattern: unresolved name: a + +mod m1 { +} + +fn main(vec[str] args) { + log m1.a; +} |