1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis 2 ; PR3611 3 4 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" 5 target triple = "x86_64-unknown-linux-gnu" 6 7 @f = alias void ()* @0 ; <void ()*> [#uses=0] 8 @g = alias void ()* @1 ; <void ()*> [#uses=0] 9 @h = external global void ()* ; <void ()*> [#uses=0] 10 11 define internal void @0() nounwind { 12 entry: 13 store void()* @0, void()** @h 14 br label %return 15 16 return: ; preds = %entry 17 ret void 18 } 19 20 define internal void @1() nounwind { 21 entry: 22 br label %return 23 24 return: ; preds = %entry 25 ret void 26 } 27