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