1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis 2 ; RUN: verify-uselistorder %s 3 ; PR3611 4 5 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" 6 target triple = "x86_64-unknown-linux-gnu" 7 8 @f = alias void (), void ()* @0 ; <void ()*> [#uses=0] 9 @g = alias void (), void ()* @1 ; <void ()*> [#uses=0] 10 @h = external global void ()* ; <void ()*> [#uses=0] 11 12 define internal void @0() nounwind { 13 entry: 14 store void()* @0, void()** @h 15 br label %return 16 17 return: ; preds = %entry 18 ret void 19 } 20 21 define internal void @1() nounwind { 22 entry: 23 br label %return 24 25 return: ; preds = %entry 26 ret void 27 } 28