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
0e3ee39c41
rust
/
src
/
test
/
run-pass
/
fn-lval.rs
9 lines
104 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
Testcase (XFAILed) for fn item given as lval.
2010-06-28 23:18:09 -05:00
// -*- rust -*-
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
fn
foo
(
fn
(
int
)
->
int
f
)
{
}
Testcase (XFAILed) for fn item given as lval.
2010-06-28 23:18:09 -05:00
fn
id
(
int
x
)
->
int
{
ret
x
;
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
fn
main
(
)
{
foo
(
id
)
;
}
Reference in New Issue
Copy Permalink