llvm/test/Assembler/2008-10-14-NamedTypeOnInteger.ll
Chris Lattner c7e3069bfa Fix the .ll grammar rules to allow any type before an 'i32', not just an
integer type.  Invalid things like 'float 42' are now rejected by the
semantic analysis in the productions not the parser.  This fixes PR2733.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57560 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-15 06:16:45 +00:00

7 lines
127 B
LLVM

; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; PR2733
%t1 = type i32
%t2 = type { %t1 }
@i1 = constant %t2 { %t1 15 }