1 // Tests the different rules for `fn` forms requiring the presence or lack of a body.
4 fn f1(); //~ ERROR free function without a body
14 fn f1(); //~ ERROR associated function in `impl` without body
19 fn f3(); //~ ERROR associated function in `impl` without body
25 fn f6() {} //~ ERROR incorrect function inside `extern` block