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>2009-11-06 16:21:19 +0300
committerMarek Safar <marek.safar@gmail.com>2009-11-06 16:21:19 +0300
commit844983bf87468ee3fc786ce8a6f8c7aeedb1f09a (patch)
tree28c79d4991e082a441fab5df4c8bfdc1c5915fb9 /mcs/tests/gtest-452.cs
parente8f945c6c9c3f714a3fe5f00bcf535330fa7c308 (diff)
parentc082e3b1088d5d8d78d58394cb238370b3ff840e (diff)
More tests.
svn path=/trunk/mcs/; revision=145584
Diffstat (limited to 'mcs/tests/gtest-452.cs')
-rw-r--r--mcs/tests/gtest-452.cs53
1 files changed, 0 insertions, 53 deletions
diff --git a/mcs/tests/gtest-452.cs b/mcs/tests/gtest-452.cs
deleted file mode 100644
index 192277cea08..00000000000
--- a/mcs/tests/gtest-452.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-// Compiler options: -langversion:future
-
-using System;
-
-struct S
-{
-}
-
-public class C
-{
- static void Foo<T> (T t, T u = default (T))
- {
- }
-
- static void TestParams (params int[] i)
- {
- throw new ApplicationException ();
- }
-
- static void TestParams (int i = 4)
- {
- }
-
- static void TestStruct (S? s = new S ())
- {
- }
-
- public string this [int i, string s = "test"] {
- get { return s; }
- set { value = s; }
- }
-
- public static int Main ()
- {
- Foo ("f");
- Foo (2);
- Foo (2, 4);
- Foo<long> (2);
- Foo<string> ("2", "3");
-
- TestParams ();
-
- TestStruct ();
-
- C c = new C ();
- if (c [1] != "test")
- return 1;
-
- c [3] = "value";
-
- return 0;
- }
-}