[Nice-commit] Nice/testsuite/compiler/syntax anonymousFunctions.testsuite,1.4,1.5 expressions.testsu
Brought to you by:
bonniot
|
From: <ar...@us...> - 2003-02-20 00:02:23
|
Update of /cvsroot/nice/Nice/testsuite/compiler/syntax
In directory sc8-pr-cvs1:/tmp/cvs-serv8961/F:/nice/testsuite/compiler/syntax
Modified Files:
anonymousFunctions.testsuite expressions.testsuite
Log Message:
Testcases for previous commits
Index: anonymousFunctions.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/anonymousFunctions.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** anonymousFunctions.testsuite 17 Feb 2003 14:08:36 -0000 1.4
--- anonymousFunctions.testsuite 20 Feb 2003 00:02:19 -0000 1.5
***************
*** 25,26 ****
--- 25,29 ----
/// PASS
void->int f = () => 1;
+
+ /// PASS
+ String s = (<Any T>(T x)=>x)("ABC");
Index: expressions.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/expressions.testsuite,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** expressions.testsuite 11 Jun 2002 12:30:17 -0000 1.1
--- expressions.testsuite 20 Feb 2003 00:02:19 -0000 1.2
***************
*** 22,23 ****
--- 22,28 ----
String->String->void f4(String x) = fun(String y)=> fun(String z)=> {};
+ /// FAIL
+ final int i;
+
+ /// PASS
+ final int i = 0;
|