about summary refs log tree commit diff
path: root/tests/codegen/mainsubprogram.rs
blob: c1933b2b3904e31b8ea7e33e54abf81271004fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// This test depends on a patch that was committed to upstream LLVM
// before 4.0, formerly backported to the Rust LLVM fork.

//@ ignore-windows
//@ ignore-macos
//@ ignore-wasi

//@ compile-flags: -g -C no-prepopulate-passes

// CHECK-LABEL: @main
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}

pub fn main() {
}