rust/tests/ui/duplicate/dupe-symbols-7.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
328 B
Rust
Raw Normal View History

// build-fail
//
// error-pattern: entry symbol `main` declared multiple times
2019-04-09 20:08:57 +00:00
// 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)]
2015-03-03 23:09:10 +00:00
#[no_mangle]
fn main(){}