2017-10-16 19:48:01 +00: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 21:59:45 +00:00
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ ignore-windows
|
|
|
|
//@ ignore-macos
|
2024-03-06 20:44:54 +00:00
|
|
|
//@ ignore-wasi
|
2016-11-30 21:59:45 +00:00
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ compile-flags: -g -C no-prepopulate-passes
|
2016-11-30 21:59:45 +00:00
|
|
|
|
|
|
|
// CHECK-LABEL: @main
|
2019-07-07 18:22:56 +00:00
|
|
|
// CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
|
2016-11-30 21:59:45 +00:00
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
}
|