blob: 695832b129dad9b9be838dba36943e7ff08f1014 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// -*- rust -*-
tag colour {
red(int,int);
green;
}
fn f() {
auto x = red(1,2);
auto y = green;
// FIXME: needs structural equality test working.
// assert (x != y);
}
fn main() {
f();
}
|