aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Feature/testconstants.ll8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Feature/testconstants.ll b/test/Feature/testconstants.ll
index 3a0613c7ef..a894c3d2a3 100644
--- a/test/Feature/testconstants.ll
+++ b/test/Feature/testconstants.ll
@@ -10,14 +10,20 @@ begin
ret [[2x int]]* %array
end
-
[sbyte]* "other func"(int, double)
begin
ret [sbyte]* %somestr
end
+[sbyte]* "yet another func"(int, double)
+begin
+ ret [sbyte]* null ; Test null
+end
+
+
[sbyte]* "again"(float)
begin
%cast = cast [11x sbyte]* %somestr to [sbyte]*
ret [sbyte]* %cast
end
+