[Nice-commit] Nice/testsuite/compiler/expressions/arrays compilation.testsuite,1.7,1.8
Brought to you by:
bonniot
|
From: <bo...@us...> - 2004-02-10 00:58:40
|
Update of /cvsroot/nice/Nice/testsuite/compiler/expressions/arrays In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26265/testsuite/compiler/expressions/arrays Modified Files: compilation.testsuite Log Message: More thorough testing of generic array to primitive array conversions. Index: compilation.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/arrays/compilation.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** compilation.testsuite 3 Dec 2003 21:50:41 -0000 1.7 --- compilation.testsuite 9 Feb 2004 12:50:51 -0000 1.8 *************** *** 1,6 **** /// PASS byte[] b = f(new byte[2]); /// Toplevel ! <int T> T[] f(T[] t) = t; /// PASS --- 1,10 ---- /// PASS byte[] b = f(new byte[2]); + short[] s = f(new short[2]); + int[] i = f(new int[2]); + long[] l = f(new long[2]); + float[] f = f(new float[2]); /// Toplevel ! <double T> T[] f(T[] t) = t; /// PASS |