diff options
Diffstat (limited to 'llvm/test/Assembler/ConstantExprFold.llx')
-rw-r--r-- | llvm/test/Assembler/ConstantExprFold.llx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Assembler/ConstantExprFold.llx b/llvm/test/Assembler/ConstantExprFold.llx index e32cc66e81a..89edc24b37e 100644 --- a/llvm/test/Assembler/ConstantExprFold.llx +++ b/llvm/test/Assembler/ConstantExprFold.llx @@ -24,3 +24,7 @@ global i1 icmp slt (i32* getelementptr (%Ty* @B, i64 0, i32 0), i32* getelementptr (%Ty* @B, i64 0, i32 1)) ; true ;global i1 icmp ne (i64* @A, i64* bitcast (%Ty* @B to i64*)) ; true +; PR2206 +@cons = weak global i32 0, align 8 ; <i32*> [#uses=1] +global i64 and (i64 ptrtoint (i32* @cons to i64), i64 7) + |