svn path=/trunk/mcs/; revision=83166
--- /dev/null
+class Test<A>
+{
+ public void Foo<V> (V v, V w)
+ { }
+}
MCS = $(with_mono_path) $(INTERNAL_MCS)
else
-EXTRA_SUPPORT_FILES = CSFriendAssembly-lib.dll GCS0730-lib.dll GCS0733-lib.dll
+EXTRA_SUPPORT_FILES = CSFriendAssembly-lib.dll GCS0122-2-lib.dll GCS0730-lib.dll GCS0733-lib.dll
endif
ilasm = $(topdir)/class/lib/net_1_1_bootstrap/ilasm.exe
--- /dev/null
+// CS0122: `Test<A>' is inaccessible due to its protection level
+// Line: 8
+// Compiler options: -r:GCS0122-2-lib.dll
+
+class X
+{
+ static void Main ()
+ {
+ Test<float> test = new Test<float> ();
+ }
+}
+
public class C
{
- public delegate TR Func<TR, TA> (TA t);
+ public delegate T1 Func<T1, T2> (T2 t);
public static TR Test<TR, TA> (Func<TR, TA> f, Func<TR, TA> f2)
{
--- /dev/null
+// CS1001: Identifier expected
+// Line: 6
+
+class B<T>
+{
+ T Foo (T)
+ {
+ }
+}
\ No newline at end of file