diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-04-08 13:57:19 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-04-08 13:57:19 +0400 |
commit | 5e2b02ba99908fa1f1242a4804bec718864f00a9 (patch) | |
tree | ce4e519671becd7d2b720023a1d9665f2f6222c8 /mcs/errors/cs1677.cs | |
parent | c593396c2c6f8231b2143d374d6ba9f8f4dfd0ff (diff) |
2004-04-08 Marek Safar <marek.safar@seznam.cz>
* cs1677.cs: Changed name from cs1667.cs
svn path=/trunk/mcs/; revision=25213
Diffstat (limited to 'mcs/errors/cs1677.cs')
-rw-r--r-- | mcs/errors/cs1677.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1677.cs b/mcs/errors/cs1677.cs new file mode 100644 index 00000000000..90b8b3ef85d --- /dev/null +++ b/mcs/errors/cs1677.cs @@ -0,0 +1,13 @@ +// cs1677: out parameters are not permitted on anonymous delegate declarations. +// Line: 11 +// +// The delegate has an explicit signature, so it can not be assigned. +// +delegate void D (int x); + +class X { + static void Main () + { + D d2 = delegate (out int x) {}; + } +} |