Nice/testsuite/compiler/overloading specificity.testsuite,1.8,1.9
Arjan Boeijink <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/overloading
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17429/F:/nice/testsuite/compiler/overloading
Modified Files:
specificity.testsuite
Log Message:
Removed deprecated pattern syntax from testsuite.
Index: specificity.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/overloading/specificity.testsuite,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** specificity.testsuite 11 Oct 2004 15:21:33 -0000 1.8
--- specificity.testsuite 1 Mar 2005 18:56:22 -0000 1.9
***************
*** 51,55 ****
void foo(A);
void foo(B);
! foo(@B) {}
/// PASS
--- 51,55 ----
void foo(A);
void foo(B);
! foo(B x) {}
/// PASS
***************
*** 59,64 ****
void foo(A, String);
void foo(B ,Number);
! foo(@B(A) ,s) {}
! foo(@B(B) ,s) {}
/// PASS
--- 59,64 ----
void foo(A, String);
void foo(B ,Number);
! foo(B(A) x ,s) {}
! foo(B(B) x ,s) {}
/// PASS
***************
*** 70,74 ****
void foo(B, A);
void foo(B, B);
! foo(@B,@B) {}
/// FAIL
--- 70,74 ----
void foo(B, A);
void foo(B, B);
! foo(B x, B y) {}
/// FAIL
***************
*** 78,83 ****
void foo(A);
void foo(A);
! foo(@B(A)) {}
! foo(@B(B)) {}
/// PASS
--- 78,83 ----
void foo(A);
void foo(A);
! foo(B(A) x) {}
! foo(B(B) x) {}
/// PASS
***************
*** 88,94 ****
void foo(B ,Number);
void foo(B ,Integer);
! foo(@B, s@String) {}
! foo(@B, s@Number) {}
! foo(@B, s@Integer) {}
/// PASS
--- 88,94 ----
void foo(B ,Number);
void foo(B ,Integer);
! foo(B x, String s) {}
! foo(B x, Number s) {}
! foo(B x, Integer s) {}
/// PASS
***************
*** 98,103 ****
void foo(A, B);
void foo(B ,A);
! foo(@B(A) ,x) {}
! foo(@B(B) ,x) {}
/// PASS
--- 98,103 ----
void foo(A, B);
void foo(B ,A);
! foo(B(A) a ,x) {}
! foo(B(B) a ,x) {}
/// PASS
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click