diff options
Diffstat (limited to 'mcs/errors/cs1587-23.cs')
-rwxr-xr-x | mcs/errors/cs1587-23.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs1587-23.cs b/mcs/errors/cs1587-23.cs new file mode 100755 index 00000000000..b3482453554 --- /dev/null +++ b/mcs/errors/cs1587-23.cs @@ -0,0 +1,14 @@ +// Compiler options: -doc:dummy.xml -warnaserror -warn:2 +using System; + +namespace TopNS +{ + class Foo + { + static /// incorrect + Foo () + { + } + } + +} |