]>
git.proxmox.com Git - rustc.git/blob - src/test/codegen/no-dllimport-w-cross-lang-lto.rs
1 // This test makes sure that functions get annotated with the proper
2 // "target-cpu" attribute in LLVM.
6 // compile-flags: -C linker-plugin-lto
8 #![crate_type = "rlib"]
10 // CHECK-NOT: @{{.*}}__imp_{{.*}}GLOBAL{{.*}} = global i8*
12 pub static GLOBAL
: u32 = 0;
13 pub static mut GLOBAL2
: u32 = 0;