mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 21:47:04 +00:00
14 lines
262 B
Rust
14 lines
262 B
Rust
//@ build-fail
|
|
//@ error-pattern: entry symbol `main` declared multiple times
|
|
//@ ignore-wasi wasi does different things with the `main` symbol
|
|
//
|
|
// See #67946.
|
|
|
|
#![allow(warnings)]
|
|
fn main() {
|
|
extern "Rust" {
|
|
fn main();
|
|
}
|
|
unsafe { main(); }
|
|
}
|