llvm-6502/test/Assembler/2007-08-06-AliasInvalid.ll
Chris Lattner 6df20efcc3 Fix PR1577, a crash on invalid bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40874 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-06 21:00:37 +00:00

8 lines
167 B
LLVM

; RUN: llvm-as < %s > /dev/null |& grep {Invalid type for reference to global}
; PR1577
@anInt = global i32 1 alias i32 @anAlias
define i32 @main() {
ret i32 0
}