Add a test for the new null keyword

llvm-svn: 669
This commit is contained in:
Chris Lattner 2001-09-30 22:47:06 +00:00
parent fbdec250b3
commit edcc613706
1 changed files with 7 additions and 1 deletions

View 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