1
Fork 0

test: "tag" -> "enum" in run-pass and run-fail

This commit is contained in:
Patrick Walton 2012-01-19 16:10:31 -08:00
parent 1461cfe416
commit 3333fef1af
76 changed files with 84 additions and 84 deletions

View file

@ -10,7 +10,7 @@ fn test_rec() {
}
fn test_tag() {
tag mood { happy; sad; }
enum mood { happy; sad; }
let rs = if true { happy } else { sad };
assert (rs == happy);
}