llvm-6502/test/Assembler/2009-07-24-ZeroArgGEP.ll
Eli Friedman 4e9bac3769 Fix assert assembling zero-argument constant GEP.
There's still a strict-aliasing violation here, but I don't feel like 
dealing with that right now...



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77005 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-24 21:56:17 +00:00

6 lines
102 B
LLVM

; RUN: llvm-as %s -o /dev/null -f
@foo = global i32 0
@bar = constant i32* getelementptr(i32* @foo)