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:
authorMarek Safar <marek.safar@gmail.com>2008-08-15 21:58:11 +0400
committerMarek Safar <marek.safar@gmail.com>2008-08-15 21:58:11 +0400
commit4693cb03efdfed9f78b1cf125509e20306b1db11 (patch)
treeb82ddd63768ec5a53a7fe10e368a4851fcf18197 /mcs/tests/test-671.cs
parent8f9813cc6583446d28efc1373bd24649097073ac (diff)
New test.
svn path=/trunk/mcs/; revision=110587
Diffstat (limited to 'mcs/tests/test-671.cs')
-rwxr-xr-xmcs/tests/test-671.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-671.cs b/mcs/tests/test-671.cs
new file mode 100755
index 00000000000..b0ea756ebd4
--- /dev/null
+++ b/mcs/tests/test-671.cs
@@ -0,0 +1,15 @@
+using System;
+
+class C
+{
+ static int Main ()
+ {
+ return Bar (null) ? 1 : 0;
+ }
+
+ static bool Bar (object t)
+ {
+ return Bar is object;
+ }
+}
+