projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1cb11
)
Add a test for the new null keyword
author
Chris Lattner
<sabre@nondot.org>
Sun, 30 Sep 2001 22:47:06 +0000
(22:47 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/test/Feature/testconstants.ll
b/test/Feature/testconstants.ll
index 3a0613c7efa3350339e9a155633eb918a5f64c3c..a894c3d2a3afd6684f730e7528f6a37b4772145a 100644
(file)
--- 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
+