diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-05-09 22:00:13 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-05-09 22:00:13 +0400 |
commit | 7f0d49eaf3ddbb66870152c7948cafc82a8622fc (patch) | |
tree | 254d8ad8946d47b9bbc9e335f01575d08ca8e269 /mcs/tests/test-251.cs | |
parent | 082cd2bb1419e84435f1a069412a7390ba9aa37f (diff) |
Add new test
svn path=/trunk/mcs/; revision=27001
Diffstat (limited to 'mcs/tests/test-251.cs')
-rw-r--r-- | mcs/tests/test-251.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mcs/tests/test-251.cs b/mcs/tests/test-251.cs new file mode 100644 index 00000000000..588cca9f2ac --- /dev/null +++ b/mcs/tests/test-251.cs @@ -0,0 +1,26 @@ +// +// Tests the valid value types for volatile fields. +// +interface R { +} + +enum XX { + A +} + +class X { + volatile byte a; + volatile sbyte b; + volatile short c; + volatile ushort d; + volatile int e; + volatile uint f; + volatile char g; + volatile float h; + volatile bool i; + volatile X x; + volatile R r; + volatile XX dd; + + static void Main () {} +} |