mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
15 lines
291 B
Rust
15 lines
291 B
Rust
// ignore-windows
|
|
// ignore-macos
|
|
|
|
// 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;
|
|
}
|