rust/tests/codegen/gdb_debug_script_load.rs

18 lines
317 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;
}