New test
authorMarek Safar <marek.safar@gmail.com>
Fri, 7 Sep 2007 20:26:18 +0000 (20:26 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 7 Sep 2007 20:26:18 +0000 (20:26 -0000)
svn path=/trunk/mcs/; revision=85506

mcs/tests/gtest-exmethod-09.cs [new file with mode: 0644]

diff --git a/mcs/tests/gtest-exmethod-09.cs b/mcs/tests/gtest-exmethod-09.cs
new file mode 100644 (file)
index 0000000..78e2a69
--- /dev/null
@@ -0,0 +1,17 @@
+// Compiler options: -langversion:linq
+
+static class Test
+{
+       public static void Foo<T> (this string p1)
+       {
+       }
+}
+
+class C
+{
+       public static void Main ()
+       {
+               //int x = Test.Foo<bool> ("bb");
+               "a".Foo<bool> ();
+       }
+}