Home | History | Annotate | Download | only in Inputs
      1 ; An internal global variable that can't be renamed because it has a section
      2 @var_with_section = internal global i32 0, section "some_section"
      3 
      4 ; @reference_gv_with_section() can't be imported
      5 define i32 @reference_gv_with_section() {
      6     %res = load i32, i32* @var_with_section
      7     ret i32 %res
      8 }
      9 
     10 ; canary
     11 define void @foo() {
     12     ret void
     13 }
     14