]> git.proxmox.com Git - rustc.git/blame - src/test/codegen/mainsubprogram.rs
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / codegen / mainsubprogram.rs
CommitLineData
abe05a73
XL
1// This test depends on a patch that was committed to upstream LLVM
2// before 4.0, formerly backported to the Rust LLVM fork.
9e0c209e 3
8bb4bdeb
XL
4// ignore-tidy-linelength
5// ignore-windows
6// ignore-macos
c30ab7b3 7
8bb4bdeb 8// compile-flags: -g -C no-prepopulate-passes
223e47cc 9
8bb4bdeb
XL
10// CHECK-LABEL: @main
11// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DIFlagMainSubprogram{{.*}}
32a655c1 12
8bb4bdeb 13pub fn main() {
32a655c1 14}