Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1:/tmp/cvs-serv14046/F:/nice/testsuite/compiler/methods
Modified Files:
implementations.testsuite
Log Message:
Give an error when #interface patterns are used they make no sense and don't work
Index: implementations.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/implementations.testsuite,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** implementations.testsuite 16 Jan 2003 01:52:25 -0000 1.6
--- implementations.testsuite 20 Feb 2003 01:27:53 -0000 1.7
***************
*** 67,68 ****
--- 67,75 ----
(notNull (g)).drawString("I love java", 20, 20);
}
+
+ /// FAIL
+ /// Toplevel
+ interface I{}
+
+ void foo(I);
+ foo(#I){}
|