mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
15 lines
333 B
Rust
15 lines
333 B
Rust
//@ ignore-apple
|
|
//@ ignore-wasi wasi codegens the main symbol differently
|
|
|
|
//@ compile-flags: -g -C no-prepopulate-passes
|
|
|
|
#![feature(start)]
|
|
|
|
// CHECK-LABEL: @main
|
|
// CHECK: {{.*}}DISubprogram{{.*}}name: "start",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
|
|
|
#[start]
|
|
fn start(_: isize, _: *const *const u8) -> isize {
|
|
return 0;
|
|
}
|