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.

11 lines
195 B
Rust
Raw Normal View History

//@ build-fail
//@ ignore-wasi wasi does different things with the `main` symbol
//
//@ error-pattern: entry symbol `main` declared multiple times
2019-04-09 20:08:57 +00:00
#![allow(warnings)]
2015-03-03 23:09:10 +00:00
#[no_mangle]
fn main(){}