Home | History | Annotate | Download | only in Bitcode
      1 ; RUN:  llvm-dis < %s.bc| FileCheck %s
      2 ; RUN:  verify-uselistorder < %s.bc
      3 
      4 ; visibility-styles.3.2.ll.bc was generated by passing this file to llvm-as-3.2.
      5 ; The test checks that LLVM does not silently misread visibility styles of
      6 ; older bitcode files.
      7 
      8 @default.var = default global i32 0
      9 ; CHECK: @default.var = global i32 0
     10 
     11 @hidden.var = hidden global i32 0
     12 ; CHECK: @hidden.var = hidden global i32 0
     13 
     14 @protected.var = protected global i32 0
     15 ; CHECK: @protected.var = protected global i32 0
     16 
     17 declare default void @default()
     18 ; CHECK: declare void @default
     19 
     20 declare hidden void @hidden()
     21 ; CHECK: declare hidden void @hidden
     22 
     23 declare protected void @protected()
     24 ; CHECK: declare protected void @protected
     25