blob: 19458c788596f1fa4836398cf1f9ad5b1fd0da97 [file] [log] [blame]
Reid Spencerd0e30dc2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt -disable-output
Chris Lattner11b4d962005-06-15 21:11:18 +00002; PR579
3
4%g_40507551 = internal global short 31038 ; <short*> [#uses=1]
5
6void %main() {
7 %tmp.4.i.1 = load ubyte* getelementptr (ubyte* cast (short* %g_40507551 to ubyte*), int 1)
8 ret void
9}