about summary refs log tree commit diff
path: root/src/test/codegen/mainsubprogram.rs
blob: 7f1b0e17f871e53014cc51027edda93b3187ea84 (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",{{.*}}DIFlagMainSubprogram{{.*}}

pub fn main() {
}