llvm-6502/test/Assembler/2009-02-28-CastOpc.ll
Chris Lattner f6f0bdfec3 Fix a pretty awesome bug that only happened in a strange case with anonymous
types.  This was reading the uint for the keyword after the token was advanced.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65743 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 00:53:13 +00:00

9 lines
103 B
LLVM

; RUN: llvm-as < %s | llvm-dis
type i32
define void @foo() {
bitcast %0* null to i32*
ret void
}