summaryrefslogtreecommitdiffstats
path: root/tests/codegen/gdb_debug_script_load.rs
blob: 002be8d1b419233ca33760a36ba2b57468f1960b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
// 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;
}