Exemple #1
0
	public static int Main ()
	{
		XA x = new XA ();

		if (x.get_one () != 1)
			return 1;

		XB b = new XB ();
		if (x.get_one () != 1)
			return 2;
		if (b.get_two () != 2)
			return 3;

		XB [] xb = null;

		return 0;
	}
Exemple #2
0
    static int Main()
    {
        XA x = new XA();

        if (x.get_one() != 1)
        {
            return(1);
        }

        XB b = new XB();

        if (x.get_one() != 1)
        {
            return(2);
        }
        if (b.get_two() != 2)
        {
            return(3);
        }

        XB [] xb = null;

        return(0);
    }