Update of /cvsroot/nice/Nice/testsuite/compiler/expressions/operators
In directory sc8-pr-cvs1:/tmp/cvs-serv18871/testsuite/compiler/expressions/operators
Modified Files:
null.testsuite
Log Message:
Takes into account the context for bytecode generation of || on option types.
(partly fixes #686142).
Index: null.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/operators/null.testsuite,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** null.testsuite 7 Oct 2002 10:57:11 -0000 1.1
--- null.testsuite 19 Feb 2003 14:19:40 -0000 1.2
***************
*** 24,25 ****
--- 24,32 ----
} catch (Error e) {}
assert(ok);
+
+ /// PASS
+ /// Toplevel
+ (int,int) foo() {
+ Map<String,(int,int)> map = new HashMap();
+ return map.get("") || (1,1);
+ }
|