]> git.lizzy.rs Git - rust.git/blob - tests/target/fn-simple.rs
Merge pull request #93 from marcusklaas/tuple-structs
[rust.git] / tests / target / fn-simple.rs
1
2 fn simple(// pre-comment on a function!?
3           i: i32, // yes, it's possible!
4           response: NoWay /* hose */) {
5     "cool"
6 }
7
8
9 fn weird_comment(// /*/ double level */ comment
10                  x: Hello, // /*/* tripple, even */*/
11                  // Does this work?
12                  y: World) {
13     simple(// does this preserve comments now?
14            42,
15            NoWay)
16 }