13 lines · plain
1; RUN: llc -mtriple=mips < %s | FileCheck %s2 3@t = common global ptr null, align 44 5define void @f() nounwind {6entry:7 store ptr @test_weak, ptr @t, align 48 ret void9}10 11; CHECK: .weak test_weak12declare extern_weak i32 @test_weak(...)13