New test.
[mono.git] / mcs / errors / cs0120-13.cs
diff --git a/mcs/errors/cs0120-13.cs b/mcs/errors/cs0120-13.cs
new file mode 100644 (file)
index 0000000..0e3108b
--- /dev/null
@@ -0,0 +1,14 @@
+// CS0120: An object reference is required to access non-static member `C.Test(string)'
+// Line: 8
+
+class C
+{
+       static void Test (int i)
+       {
+               Test ("a");
+       }
+       
+       void Test (string s)
+       {
+       }
+}