summaryrefslogtreecommitdiff
path: root/test/Assembler/ConstantExprFoldCast.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/ConstantExprFoldCast.ll')
-rw-r--r--test/Assembler/ConstantExprFoldCast.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Assembler/ConstantExprFoldCast.ll b/test/Assembler/ConstantExprFoldCast.ll
index 0ce6e84626..161a4ca357 100644
--- a/test/Assembler/ConstantExprFoldCast.ll
+++ b/test/Assembler/ConstantExprFoldCast.ll
@@ -12,3 +12,5 @@
@F = global i32* inttoptr (i32 add (i32 5, i32 -5) to i32*)
@G = global i32* inttoptr (i32 sub (i32 5, i32 5) to i32*)
+; Address space cast AS0 null-> AS1 null
+@H = global i32 addrspace(1)* addrspacecast(i32* null to i32 addrspace(1)*)