diff options
Diffstat (limited to 'mcs/tests/test-85.cs')
-rwxr-xr-x | mcs/tests/test-85.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/mcs/tests/test-85.cs b/mcs/tests/test-85.cs deleted file mode 100755 index a50379568f3..00000000000 --- a/mcs/tests/test-85.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// This test declares a field variable called `UnmanagedType' of type -// UnmanagedType. -// -// The test is used to test the cast of 0 to UnmanagedType, as before -// that would have been resolved to a variable instead of a type. -// -using System.Runtime.InteropServices; - -class X { - static UnmanagedType UnmanagedType; - - static int Main () - { - UnmanagedType = (UnmanagedType) 0; - - if (UnmanagedType != 0) - return 1; - - return 0; - } -} - |