This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
rust
/
src
/
test
/
run-pass
/
expr-block-box.rs
10 lines
81 B
Rust
Raw
Normal View
History
Unescape
Escape
Add a test for block expressions that have results. XFAILed.
2011-03-31 20:17:43 -04:00
// -*- rust -*-
fn
main
(
)
{
auto
x
=
{
@
100
}
;
Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02 17:47:24 -07:00
assert
(
*
x
=
=
100
)
;
Cleanup typos and newlines
2011-04-01 00:00:20 -04:00
}
Reference in New Issue
Copy Permalink