X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fgtest-278-3-lib.cs;h=552a0e3bbbad4da908c970766fad475c6cb48fb5;hb=51b93b6c23229e18f9e99db621ea3d733cee9f9d;hp=ef39a8b41c73b8a0e0882ec85b84d7c4c0b4c995;hpb=89d0ba3968d36576553e0f483b0c69465f94e8ae;p=mono.git diff --git a/mcs/tests/gtest-278-3-lib.cs b/mcs/tests/gtest-278-3-lib.cs index ef39a8b41c7..552a0e3bbba 100644 --- a/mcs/tests/gtest-278-3-lib.cs +++ b/mcs/tests/gtest-278-3-lib.cs @@ -1,6 +1,28 @@ -// Compiler options: -r:gtest-278-2-lib.dll -t:library - -using System; -using System.Runtime.CompilerServices; - -[assembly: TypeForwardedTo(typeof(C))] +// Compiler options: -r:gtest-278-2-lib.dll -t:library + +using System; + +public class B +{ + public static int Test () + { + if (C.Print () != "C") + return 1; + + if (D.Print () != "D") + return 2; + + if (G.Test (5) != 5) + return 3; + + if (C.CC.Print () != "C+CC") + return 4; + + Console.WriteLine (typeof (C)); + Console.WriteLine (typeof (D)); + Console.WriteLine (typeof (G)); + Console.WriteLine (typeof (C.CC).Assembly.FullName); + + return 0; + } +}