rustc: Add a test case for previous commit

This commit is contained in:
Patrick Walton 2011-04-14 12:51:27 -07:00
parent 35e021ed53
commit 55ab187c9c

View file

@ -0,0 +1,11 @@
tag opt[T] {
none;
}
fn main() {
auto x = none[int];
alt (x) {
case (none[int]) { log "hello world"; }
}
}