diff options
author | Marek Safar <marek.safar@gmail.com> | 2005-04-26 11:10:37 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2005-04-26 11:10:37 +0400 |
commit | 6cf1f76689da4cab08327efac981fb85f6ad63db (patch) | |
tree | 59d298b7487b6a2368de571c5cb29458c24dcd80 /mcs/errors/cs3026.cs | |
parent | 61272c4c8d4e56caf1a1eb7e90b0e88ba6e87923 (diff) |
new tests + update
svn path=/trunk/mcs/; revision=43580
Diffstat (limited to 'mcs/errors/cs3026.cs')
-rw-r--r-- | mcs/errors/cs3026.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs3026.cs b/mcs/errors/cs3026.cs new file mode 100644 index 00000000000..0788725c7bd --- /dev/null +++ b/mcs/errors/cs3026.cs @@ -0,0 +1,10 @@ +// cs3026.cs: CLS-compliant field 'Class.V' cannot be volatile +// Line: 9 +// Compiler options: -warn:1 -warnaserror + +using System; +[assembly: CLSCompliant (true)] + +public class Class { + protected volatile int V; +} |