]> git.lizzy.rs Git - rust.git/blob - tests/run-make/incr-prev-body-beyond-eof/b.rs
Rollup merge of #107316 - ChrisDenton:snap, r=oli-obk
[rust.git] / tests / run-make / incr-prev-body-beyond-eof / b.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 }