1; RUN: llc -march=mips < %s | FileCheck %s
2
3@t = common global i32 (...)* null, align 4
4
5define void @f() nounwind {
6entry:
7 store i32 (...)* @test_weak, i32 (...)** @t, align 4
8 ret void
9}
10
11; CHECK: .weak test_weak
12declare extern_weak i32 @test_weak(...)
13