rust/tests/codegen/gdb_debug_script_load.rs
2023-01-11 09:32:08 +00:00

18 lines
312 B
Rust

//
// ignore-windows
// ignore-macos
// ignore-wasm
// ignore-emscripten
// compile-flags: -g -C no-prepopulate-passes
#![feature(start)]
// CHECK-LABEL: @main
// CHECK: load volatile i8, {{.+}} @__rustc_debug_gdb_scripts_section__
#[start]
fn start(_: isize, _: *const *const u8) -> isize {
return 0;
}