rust/src/test/run-pass/expr-block-box.rs
Graydon Hoare d08b443fff Revert "Use different syntax for checks that matter to typestate"
This reverts commit aa25f22f19. It broke stage2, not sure why yet.
2011-05-02 17:35:33 -07:00

11 lines
94 B
Rust

// xfail-boot
// -*- rust -*-
fn main() {
auto x = {
@100
};
check (*x == 100);
}