1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Assembler/2009-07-24-ZeroArgGEP.ll
Eli Friedman 11e86150c4 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...

llvm-svn: 77005
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)