Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-09-23 15:46:38 +0400
committerMarek Safar <marek.safar@gmail.com>2004-09-23 15:46:38 +0400
commitd00466e81403af6755aee8b0cc018b7909a0107b (patch)
tree42d12cb0152c745e667a6f9d8c97d887fea23738 /mcs/tests/test-299.cs
parent542069f24a0fd33e787f633d469c07ab5e30852d (diff)
new test
svn path=/trunk/mcs/; revision=34272
Diffstat (limited to 'mcs/tests/test-299.cs')
-rw-r--r--mcs/tests/test-299.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-299.cs b/mcs/tests/test-299.cs
new file mode 100644
index 00000000000..292467dd233
--- /dev/null
+++ b/mcs/tests/test-299.cs
@@ -0,0 +1,16 @@
+// csc 1.x has a bug
+
+class SampleClass
+{
+ public static SuperClass operator ++ (SampleClass value) {
+ return new SuperClass();
+ }
+}
+
+class SuperClass: SampleClass
+{
+ public static int Main ()
+ {
+ return 0;
+ }
+}