summaryrefslogtreecommitdiffstats
path: root/src/test/ui/duplicate/dupe-symbols-7.rs
blob: 633ca4c31895211b29856e17498a30e2dc910466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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(){}