xref: /llvm-project/llvm/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll (revision 0e8bd5a44a1bd8034706189b49a7a816c59304cd)
1; RUN: llc < %s
2; PR2603
3        %struct.A = type { i8 }
4        %struct.B = type { i8, [1 x i8] }
5@Foo = constant %struct.A { i8 ptrtoint (ptr getelementptr ([1 x i8], ptr inttoptr (i32 17 to ptr), i32 0, i32 -16) to i8) }          ; <ptr> [#uses=0]
6