Skip to content

Commit 55ab187

Browse files
committed
rustc: Add a test case for previous commit
1 parent 35e021e commit 55ab187

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
tag opt[T] {
2+
none;
3+
}
4+
5+
fn main() {
6+
auto x = none[int];
7+
alt (x) {
8+
case (none[int]) { log "hello world"; }
9+
}
10+
}
11+

0 commit comments

Comments
 (0)