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
80cf4ecd3b
rust
/
src
/
test
/
run-pass
/
fn-expr.rs
5 lines
95 B
Rust
Raw
Normal View
History
Unescape
Escape
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Add xfail-stage0 to some tests (not sure if it matters...)
2011-06-14 13:28:34 -05:00
// xfail-stage0
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
fn
main
(
)
{
auto
x
=
fn
(
int
a
)
->
int
{
ret
a
+
1
;
}
;
assert
(
x
(
4
)
=
=
5
)
;
}
Reference in New Issue
Copy Permalink