From 21208f23439acfae35e615abbe791b3011b950bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 27 Jan 2011 15:50:19 -0500 Subject: Handle paths correctly. This lets us handle one more test :-) --- src/test/run-pass/alt-path.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/test/run-pass/alt-path.rs (limited to 'src/test') diff --git a/src/test/run-pass/alt-path.rs b/src/test/run-pass/alt-path.rs new file mode 100644 index 00000000..45faa700 --- /dev/null +++ b/src/test/run-pass/alt-path.rs @@ -0,0 +1,15 @@ +import m1.foo; +mod m1 { + tag foo { + foo1; + foo2; + } +} +fn bar(foo x) { + alt(x) { + case (m1.foo1) { + } + } +} +fn main(vec[str] args) { +} -- cgit v1.2.3