]> git.lizzy.rs Git - rust.git/blob - tests/run-make/incr-prev-body-beyond-eof/a.rs
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
[rust.git] / tests / run-make / incr-prev-body-beyond-eof / a.rs
1 fn main() {
2     // foo must be used.
3     foo();
4 }
5
6 // For this test to operate correctly, foo's body must start on exactly the same
7 // line and column and have the exact same length in bytes in a.rs and b.rs. In
8 // a.rs, the body must end on a line number which does not exist in b.rs.
9 // Basically, avoid modifying this file, including adding or removing whitespace!
10 fn foo() {
11     assert_eq!(1, 1);
12
13
14
15
16 }