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