[svn] r7658: nemerle/trunk/ncc/testsuite/positive/bug1009.n
VladD2
svnadmin at nemerle.org
Sat May 5 16:07:16 CEST 2007
Log:
Add test for bug 1009.
Author: VladD2
Date: Sat May 5 16:07:14 2007
New Revision: 7658
Added:
nemerle/trunk/ncc/testsuite/positive/bug1009.n
Added: nemerle/trunk/ncc/testsuite/positive/bug1009.n
==============================================================================
--- (empty file)
+++ nemerle/trunk/ncc/testsuite/positive/bug1009.n Sat May 5 16:07:14 2007
@@ -0,0 +1,42 @@
+using System.Console;
+
+class A[T]
+{
+ public static Test2() : void { WriteLine("A[T].Test2()"); }
+}
+
+class A
+{
+ public static Test1() : void { WriteLine("A.Test1()"); }
+}
+
+class B
+{
+ public static Test1() : void { WriteLine("B.Test1()"); }
+}
+
+class B[T]
+{
+ public static Test2() : void { WriteLine("B[T].Test2()"); }
+}
+
+module Program
+{
+ Main() : void
+ {
+ A.Test1();
+ A.[int].Test2();
+ B.Test1();
+ B.[int].Test2();
+ //_ = ReadLine();
+ }
+}
+
+/*
+BEGIN-OUTPUT
+A.Test1()
+A[T].Test2()
+B.Test1()
+B[T].Test2()
+END-OUTPUT
+*/
More information about the svn
mailing list