diff options
author | Marek Safar <marek.safar@gmail.com> | 2009-01-06 19:17:36 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2009-01-06 19:17:36 +0300 |
commit | 54c57a1163b3b6286778c1e89f2bd4df4e4b5600 (patch) | |
tree | eb29b2b5b4faea107c86c2bbbd1256b2724b3b47 /mcs/tests/test-701.cs | |
parent | 11d9343e1134ef4d0c96a76c2d29aa03a02106a0 (diff) |
New test.
svn path=/trunk/mcs/; revision=122559
Diffstat (limited to 'mcs/tests/test-701.cs')
-rw-r--r-- | mcs/tests/test-701.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/tests/test-701.cs b/mcs/tests/test-701.cs new file mode 100644 index 00000000000..5698f68ba72 --- /dev/null +++ b/mcs/tests/test-701.cs @@ -0,0 +1,20 @@ +// Compiler options: -warnaserror -warn:4 + +using System; + +[assembly: CLSCompliant (true)] + +public class Foo +{ +#pragma warning disable 3019 + [CLSCompliant (false)] +#pragma warning restore 3019 + internal ushort ToUint16 () + { + return ushort.MaxValue; + } + + static void Main () + { + } +} |