1 ; RUN: llvm-dis < %s.bc| FileCheck %s
2 ; RUN: verify-uselistorder < %s.bc
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
8 @default.var = default global i32 0
9 ; CHECK: @default.var = global i32 0
11 @hidden.var = hidden global i32 0
12 ; CHECK: @hidden.var = hidden global i32 0
14 @protected.var = protected global i32 0
15 ; CHECK: @protected.var = protected global i32 0
17 declare default void @default()
18 ; CHECK: declare void @default
20 declare hidden void @hidden()
21 ; CHECK: declare hidden void @hidden
23 declare protected void @protected()
24 ; CHECK: declare protected void @protected