Home | History | Annotate | Download | only in Inputs
      1 define internal void @ctor1() {
      2   call void @func1()
      3   ret void
      4 }
      5 
      6 define internal void @ctor2() {
      7   ret void
      8 }
      9 
     10 define void @func1() {
     11   ret void
     12 }
     13 
     14 define void @unused() {
     15   ret void
     16 }
     17 
     18 @llvm.global_ctors = appending global[2 x{i32, void() *, i8 * }] [
     19     {i32, void() *, i8 * } { i32 2, void() *@ctor1, i8 *null},
     20     {i32, void() *, i8 * } { i32 7, void() *@ctor2, i8 *null}]
     21