test: Remove the import-glob-circular test since the name resolution semantics it depends on are probably undecidable
This commit is contained in:
parent
9386c2db33
commit
216105fc55
1 changed files with 0 additions and 50 deletions
|
|
@ -1,50 +0,0 @@
|
|||
import test1::*;
|
||||
import test2::*;
|
||||
|
||||
mod circ1 {
|
||||
import circ1::*;
|
||||
export f1;
|
||||
export f2;
|
||||
export common;
|
||||
fn f1() -> uint { ret 1u }
|
||||
fn common() -> uint { ret 1u; }
|
||||
}
|
||||
|
||||
mod circ2 {
|
||||
import circ2::*;
|
||||
export f1;
|
||||
export f2;
|
||||
export common;
|
||||
fn f2() -> uint { ret 2u; }
|
||||
fn common() -> uint { ret 2u; }
|
||||
}
|
||||
|
||||
mod test1 {
|
||||
import circ1::*;
|
||||
fn test1() {
|
||||
assert (f1() == 1u);
|
||||
//make sure that cached lookups work...
|
||||
assert (f1() == 1u);
|
||||
//assert(f2() == 2u); //TODO: renable when 'reexport' is implemented
|
||||
//assert(f2() == 2u);
|
||||
assert (common() == 1u);
|
||||
assert (common() == 1u);
|
||||
}
|
||||
}
|
||||
|
||||
mod test2 {
|
||||
import circ2::*;
|
||||
fn test2() {
|
||||
//assert(f1() == 1u); //TODO: renable when 'reexport' is implemented
|
||||
////make sure that cached lookups work...
|
||||
//assert(f1() == 1u);
|
||||
assert (f2() == 2u);
|
||||
assert (f2() == 2u);
|
||||
assert (common() == 2u);
|
||||
assert (common() == 2u);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
fn main() { test1(); test2(); }
|
||||
Loading…
Add table
Add a link
Reference in a new issue