xref: /aosp_15_r20/external/llvm/test/Assembler/invalid-fwdref1.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: not llvm-as %s -disable-output 2>&1 | grep "invalid forward reference to function as global value!"
2
3define i8* @test1() { ret i8* @test1a }
4define void @test1a() { }
5