]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/mainsubprogram.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / 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 }