Use null keyword instead of kludge
authorChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 07:05:51 +0000 (07:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 07:05:51 +0000 (07:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@778 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/testvarargs.ll

index a26c81ac5b5171c77f0559e41f7819842a2e7e31..ef6e48f88439f4bc67e32ea2bdbc7964b0afa369 100644 (file)
@@ -4,8 +4,7 @@ declare int "printf"(sbyte*, ...)   ;; Prototype for: int __builtin_printf(const
 
 int "testvarar"()
 begin
-       cast int 0 to sbyte*
-       call int(sbyte*, ...) *%printf(sbyte * %0, int 12, sbyte 42);
+       call int(sbyte*, ...) *%printf(sbyte * null, int 12, sbyte 42);
        ret int %0
 end