[Nice-commit] Nice/testsuite/compiler/functions clotures.testsuite,1.2,1.3
Brought to you by:
bonniot
|
From: Arjan B. <ar...@us...> - 2004-03-24 20:30:47
|
Update of /cvsroot/nice/Nice/testsuite/compiler/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19007/F:/nice/testsuite/compiler/functions Modified Files: clotures.testsuite Log Message: Testcase for bug in code generation. Index: clotures.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/functions/clotures.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** clotures.testsuite 19 Nov 2002 15:53:24 -0000 1.2 --- clotures.testsuite 24 Mar 2004 20:20:07 -0000 1.3 *************** *** 16,17 **** --- 16,27 ---- long l = 0; [1].foreach(int i => { println(l); }); + + + /// PASS bug + boolean b = false; + [].foreach(int x => { + [].foreach(int y => { + if (true || false) + b = true; + }); + }); |