]> git.lizzy.rs Git - rust.git/blob - tests/codegen/mainsubprogram.rs
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[rust.git] / tests / codegen / mainsubprogram.rs
1 // This test depends on a patch that was committed to upstream LLVM
2 // before 4.0, formerly backported to the Rust LLVM fork.
3
4 // ignore-windows
5 // ignore-macos
6
7 // compile-flags: -g -C no-prepopulate-passes
8
9 // CHECK-LABEL: @main
10 // CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
11
12 pub fn main() {
13 }