diff options
author | Geoff Norton <grompf@sublimeintervention.com> | 2004-09-21 21:43:05 +0400 |
---|---|---|
committer | Geoff Norton <grompf@sublimeintervention.com> | 2004-09-21 21:43:05 +0400 |
commit | 9f4822fa6c93bf5f8cfe0dfb02c3bf9619dc1038 (patch) | |
tree | c131eab94425b8b7f86f0933f77da0e6eaa214be /mcs | |
parent | b0c0dddcc03b673809a6cecfeb0d3f4218f4955c (diff) |
Adding test case for bug #63841
svn path=/trunk/mcs/; revision=34182
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/tests/Makefile | 2 | ||||
-rw-r--r-- | mcs/tests/test-296.cs | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/mcs/tests/Makefile b/mcs/tests/Makefile index dc5a8e99d59..fb21c3df68f 100644 --- a/mcs/tests/Makefile +++ b/mcs/tests/Makefile @@ -45,7 +45,7 @@ TEST_SOURCES = \ test-261 test-262 test-263 test-264 test-265 test-266 test-267 test-268 test-269 test-270 \ test-271 test-272 test-273 test-274 test-275 test-276 test-277 test-278 test-279 test-280 \ test-281 test-282 test-283 test-284 test-285 test-286 test-288 test-289 test-290 \ - test-291 test-292 test-293 test-295 \ + test-291 test-292 test-293 test-295 test-296 \ cls-test-0 cls-test-1 cls-test-2 cls-test-3 cls-test-5 cls-test-6 cls-test-7 cls-test-10 \ cls-test-11 cls-test-14 cls-test-15 cls-test-16 \ mtest-1-dll mtest-1-exe diff --git a/mcs/tests/test-296.cs b/mcs/tests/test-296.cs new file mode 100644 index 00000000000..b5954434b18 --- /dev/null +++ b/mcs/tests/test-296.cs @@ -0,0 +1,14 @@ +using System; + +public class GetElementTypeTest { + static int Main (string[] args) { + GetElementTypeTest me = new GetElementTypeTest (); + Type t = me.GetType (); + Type elementt = t.GetElementType (); + + if (elementt != null) + return 1; + return 0; + } +} + |