mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-16 11:05:54 +00:00
64ea275fe4
value but later turns out to be a function. Unfortunately, we can't fold tests into a single file because we only get one error out of llvm-as. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165680 91177308-0d34-0410-b5e6-96231b3b80d8
5 lines
174 B
LLVM
5 lines
174 B
LLVM
; 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() { }
|