Remove test for any type -> match type, which doesn't seem to exist anymore
This commit is contained in:
parent
9968ccfc30
commit
212d77efcc
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
||||||
|
|
||||||
// xfail-test
|
|
||||||
|
|
||||||
fn altsimple(any x) {
|
|
||||||
match type (f) {
|
|
||||||
case (int i) { print("int"); }
|
|
||||||
case (str s) { print("str"); }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn main() {
|
|
||||||
altsimple(5);
|
|
||||||
altsimple("asdfasdfsDF");
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue