Skip to content

Commit 0722eef

Browse files
committed
add test file in test suite
1 parent b694a4e commit 0722eef

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

TestSuite/caseinsensitive.pas

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
uses system, system.Collections.generic;
2+
type TCLASS = class
3+
public function tostring: STRING; OVERRIDE;
4+
begin
5+
RESULT := 'ok';
6+
end;
7+
END;
8+
9+
BEGIN
10+
var lst := new list<integer>;
11+
lst.add(2);
12+
assert(lst[0]=2);
13+
assert(lst.toarray.first=2);
14+
lst := new system.collections.generic.list<integer>;
15+
var obj := new tclass;
16+
assert(obj.Tostring = 'ok');
17+
END.

0 commit comments

Comments
 (0)