rust/tests/ui/duplicate/dupe-symbols-7.rs
2023-01-11 09:32:08 +00:00

13 lines
328 B
Rust

// build-fail
//
// error-pattern: entry symbol `main` declared multiple times
// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
#![allow(warnings)]
#[no_mangle]
fn main(){}