view test/Assembler/2002-05-02-InvalidForwardRef.ll @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line source

; RUN: llvm-as %s -o /dev/null
; It looks like the assembler is not forward resolving the function declaraion
; correctly.

define void @test() {
        call void @foo( )
        ret void
}

declare void @foo()