• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // This test makes sure that functions get annotated with the proper
2 // "target-cpu" attribute in LLVM.
3 
4 // no-prefer-dynamic
5 // only-msvc
6 // compile-flags: -C linker-plugin-lto
7 
8 #![crate_type = "rlib"]
9 
10 // CHECK-NOT: @{{.*}}__imp_{{.*}}GLOBAL{{.*}} = global i8*
11 
12 pub static GLOBAL: u32 = 0;
13 pub static mut GLOBAL2: u32 = 0;
14