diff options
Diffstat (limited to 'mcs/errors/cs0514.cs')
-rw-r--r-- | mcs/errors/cs0514.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0514.cs b/mcs/errors/cs0514.cs new file mode 100644 index 00000000000..86747c11ae8 --- /dev/null +++ b/mcs/errors/cs0514.cs @@ -0,0 +1,9 @@ +// cs0514: Static constructor can not have arguments +// Line: 4 +class X { + static X () : base () + { + } + + static void Main () {} +} |