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>2006-12-11 22:06:23 +0300
committerMarek Safar <marek.safar@gmail.com>2006-12-11 22:06:23 +0300
commit9a0b23ffd02143326df03e324c19a54579fb1366 (patch)
tree41bd5a6bffc3b97d8b6baf080e058bc787addda3 /mcs/tests/test-542.cs
parentb9241d416a73d219c0cb3920b7b8b7777c49b3e2 (diff)
New test.
svn path=/trunk/mcs/; revision=69351
Diffstat (limited to 'mcs/tests/test-542.cs')
-rw-r--r--mcs/tests/test-542.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/test-542.cs b/mcs/tests/test-542.cs
new file mode 100644
index 00000000000..1d131f7a0a2
--- /dev/null
+++ b/mcs/tests/test-542.cs
@@ -0,0 +1,18 @@
+class C
+{
+ static void Test (C arg)
+ {
+ }
+
+ public static void Main ()
+ {
+ object value = null;
+ C.Test(
+#if true
+ (C)
+#else
+ no error here
+#endif
+ value);
+ }
+} \ No newline at end of file