rust/tests/codegen/gdb_debug_script_load.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
312 B
Rust
Raw Normal View History

//
// 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;
}