1 2 3 4 5 6 7 8 9
// build-fail // // error-pattern: entry symbol `main` declared multiple times #![allow(warnings)] #[no_mangle] fn main(){}