aa25f22f19
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
11 lines
95 B
Rust
11 lines
95 B
Rust
// xfail-boot
|
|
// -*- rust -*-
|
|
|
|
fn main() {
|
|
auto x = {
|
|
@100
|
|
};
|
|
|
|
assert (*x == 100);
|
|
}
|