about summary refs log tree commit diff
path: root/tests/codegen/mainsubprogram.rs
blob: 12b24c90229ece463d20f60a7834179df9d18c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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-apple
//@ ignore-wasi

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

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

pub fn main() {}