diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-11-06 01:02:43 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-11-06 01:02:43 +0300 |
commit | 06f2050e3c285892a3d84664fbee64a5c82afced (patch) | |
tree | c20c18b7891f3b8b5862f38f4a8a67de5cc4a73f /mcs/errors/cs0037.cs | |
parent | 79d952aaf9f6652e53e08d1e26fc76ca472ebd05 (diff) |
Add new test
svn path=/trunk/mcs/; revision=8841
Diffstat (limited to 'mcs/errors/cs0037.cs')
-rw-r--r-- | mcs/errors/cs0037.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0037.cs b/mcs/errors/cs0037.cs new file mode 100644 index 00000000000..32d0b542e9f --- /dev/null +++ b/mcs/errors/cs0037.cs @@ -0,0 +1,12 @@ +//cs0037.cs: Can not convert null to struct because its a value type +// Line: 10 +struct S { + int a; +} + +class X { + static void Main () + { + S s = (S) null; + } +} |