2016-11-30 14:59:45 -07:00
|
|
|
//@ ignore-windows
|
2024-05-27 15:17:18 +02:00
|
|
|
//@ ignore-apple
|
2024-03-06 12:44:54 -08:00
|
|
|
//@ ignore-wasi wasi codegens the main symbol differently
|
2016-11-30 14:59:45 -07:00
|
|
|
|
|
|
|
//@ compile-flags: -g -C no-prepopulate-passes
|
|
|
|
|
|
|
|
#![feature(start)]
|
|
|
|
|
|
|
|
// CHECK-LABEL: @main
|
2019-07-07 20:22:56 +02:00
|
|
|
// CHECK: {{.*}}DISubprogram{{.*}}name: "start",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
2016-11-30 14:59:45 -07:00
|
|
|
|
|
|
|
#[start]
|
|
|
|
fn start(_: isize, _: *const *const u8) -> isize {
|
|
|
|
return 0;
|
|
|
|
}
|