2017-10-16 14:48:01 -05:00
|
|
|
// This test depends on a patch that was committed to upstream LLVM
|
|
|
|
// before 4.0, formerly backported to the Rust LLVM fork.
|
2016-11-30 15:59:45 -06:00
|
|
|
|
|
|
|
//@ ignore-windows
|
|
|
|
//@ ignore-macos
|
2024-03-06 14:44:54 -06:00
|
|
|
//@ ignore-wasi
|
2016-11-30 15:59:45 -06:00
|
|
|
|
|
|
|
//@ compile-flags: -g -C no-prepopulate-passes
|
|
|
|
|
|
|
|
// CHECK-LABEL: @main
|
2019-07-07 13:22:56 -05:00
|
|
|
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
2016-11-30 15:59:45 -06:00
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
}
|