2021-04-03 06:05:11 -05:00
|
|
|
//
|
2015-09-15 16:22:16 -05:00
|
|
|
// ignore-windows
|
|
|
|
// ignore-macos
|
2019-11-18 09:41:10 -06:00
|
|
|
// ignore-wasm
|
|
|
|
// ignore-emscripten
|
2015-09-15 16:22:16 -05:00
|
|
|
|
|
|
|
// compile-flags: -g -C no-prepopulate-passes
|
|
|
|
|
|
|
|
#![feature(start)]
|
|
|
|
|
|
|
|
// CHECK-LABEL: @main
|
2022-02-21 04:21:23 -06:00
|
|
|
// CHECK: load volatile i8, {{.+}} @__rustc_debug_gdb_scripts_section__
|
2015-09-15 16:22:16 -05:00
|
|
|
|
|
|
|
#[start]
|
|
|
|
fn start(_: isize, _: *const *const u8) -> isize {
|
|
|
|
return 0;
|
|
|
|
}
|