From: Chris Lattner Date: Sun, 30 Sep 2001 22:47:06 +0000 (+0000) Subject: Add a test for the new null keyword X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6b12936ac3513ef6d60ea8ac7fccf89636d172be;p=oota-llvm.git Add a test for the new null keyword git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@669 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Feature/testconstants.ll b/test/Feature/testconstants.ll index 3a0613c7efa..a894c3d2a3a 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 +