diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-09-23 15:46:38 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-09-23 15:46:38 +0400 |
commit | d00466e81403af6755aee8b0cc018b7909a0107b (patch) | |
tree | 42d12cb0152c745e667a6f9d8c97d887fea23738 /mcs/tests/test-299.cs | |
parent | 542069f24a0fd33e787f633d469c07ab5e30852d (diff) |
new test
svn path=/trunk/mcs/; revision=34272
Diffstat (limited to 'mcs/tests/test-299.cs')
-rw-r--r-- | mcs/tests/test-299.cs | 16 |
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; + } +} |