Add a test for the new null keyword
authorChris Lattner <sabre@nondot.org>
Sun, 30 Sep 2001 22:47:06 +0000 (22:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 30 Sep 2001 22:47:06 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@669 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/testconstants.ll

index 3a0613c7efa3350339e9a155633eb918a5f64c3c..a894c3d2a3afd6684f730e7528f6a37b4772145a 100644 (file)
@@ -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
+