aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/invalid-fwdref1.ll
blob: ef8b16cadceb334b0ab75b1578bfa242698cdfaf (plain)
1
2
3
4
; RUN: not llvm-as %s -disable-output 2>&1 | grep "invalid forward reference to function as global value!"

define i8* @test1() { ret i8* @test1a }
define void @test1a() { }