18b01d5cfe
XFAIL the ones that don't work Issue #409
10 lines
182 B
Rust
10 lines
182 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
|
|
// Tests for alt as expressions resulting in boxed types
|
|
fn test_box() { let res = alt true { true { ~100 } }; assert (*res == 100); }
|
|
|
|
fn main() { test_box(); }
|