summaryrefslogtreecommitdiffstats
path: root/src/test/codegen/mainsubprogram.rs
blob: 790db33437b08d3694f6a034d83f4ae3c9326b38 (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-macos

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

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

pub fn main() {
}