diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-09-01 21:55:44 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-09-01 21:55:44 +0400 |
commit | c13aaee158a12577541cc1f5b31d5bebebdd396f (patch) | |
tree | 04be57e7c3d5c56cba2856249e1f34c0622def13 /mcs/errors/cs0712.cs | |
parent | fe58636b54074d393f912df7f7e02719aeb4a5bb (diff) |
2004-09-01 Marek Safar <marek.safar@seznam.cz>
* 20 new tests mainly for static classes.
svn path=/trunk/mcs/; revision=33168
Diffstat (limited to 'mcs/errors/cs0712.cs')
-rw-r--r-- | mcs/errors/cs0712.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0712.cs b/mcs/errors/cs0712.cs new file mode 100644 index 00000000000..d22fa5d1121 --- /dev/null +++ b/mcs/errors/cs0712.cs @@ -0,0 +1,12 @@ +// cs0712.cs: Cannot create an instance of the static class 'StaticClass' +// Line: 10 + +static class StaticClass { +} + +public class MainClass { + public static void Main () + { + new StaticClass (); + } +} |