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

//@ ignore-apple
//@ ignore-wasi

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

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

pub fn main() {}