1 2 3 4 5 6 7
// compile-flags: --test #![deny(dead_code)] fn dead() {} //~ error: function `dead` is never used fn main() {}