Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2007-10-06 12:22:28 +0400
committerPaolo Molaro <lupus@oddwiz.org>2007-10-06 12:22:28 +0400
commit39c99c2c791812837d0349881d2a8a9f33d1a35c (patch)
treea568d252347d38d5814ccf553f0f32ac243fb3e1 /mcs/tests/gtest-284.cs
parent677f3b508a5eb867b95464df8d8a309788664c49 (diff)
Sat Oct 6 10:35:25 CEST 2007 Paolo Molaro <lupus@ximian.com>
* gtest-284.cs: this test wasn't working even on the MS runtime: once fixed it runs fine on both mono and MS .net. svn path=/trunk/mcs/; revision=87029
Diffstat (limited to 'mcs/tests/gtest-284.cs')
-rw-r--r--mcs/tests/gtest-284.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/mcs/tests/gtest-284.cs b/mcs/tests/gtest-284.cs
index eb9df3ccf56..c6c15910659 100644
--- a/mcs/tests/gtest-284.cs
+++ b/mcs/tests/gtest-284.cs
@@ -218,11 +218,11 @@ public static class InterfaceTester
public static int Test ()
{
- int result = Test (typeof (X), typeof (X), typeof (Y), typeof (object));
+ int result = Test (typeof (X), typeof (X));
if (result != 0)
return result;
- result = Test (typeof (Y), typeof (Y), typeof (object));
+ result = Test (typeof (Y), typeof (Y));
if (result != 0)
return 100 + result;
@@ -234,27 +234,27 @@ public static class InterfaceTester
if (result != 0)
return 300 + result;
- result = Test (typeof (int), typeof (int), typeof (uint));
+ result = Test (typeof (int), typeof (int));
if (result != 0)
return 400 + result;
- result = Test (typeof (uint), typeof (int), typeof (uint));
+ result = Test (typeof (uint), typeof (uint));
if (result != 0)
return 500 + result;
- result = Test (typeof (long), typeof (long), typeof (ulong));
+ result = Test (typeof (long), typeof (long));
if (result != 0)
return 600 + result;
- result = Test (typeof (ulong), typeof (long), typeof (ulong));
+ result = Test (typeof (ulong), typeof (ulong));
if (result != 0)
return 700 + result;
- result = Test (typeof (short), typeof (short), typeof (ushort));
+ result = Test (typeof (short), typeof (short));
if (result != 0)
return 800 + result;
- result = Test (typeof (ushort), typeof (short), typeof (ushort));
+ result = Test (typeof (ushort), typeof (ushort));
if (result != 0)
return 900 + result;