dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: cscctest/csharp/class member_access1.cs,NONE


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: cscctest/csharp/class member_access1.cs,NONE,1.1 member_access1.il,NONE,1.1 member_access1.jl,NONE,1.1 member_access2.cs,NONE,1.1 member_access2.err,NONE,1.1 member_access2.jerr,NONE,1.1 Makefile.am,1.28,1.29
Date: Sat, 07 Dec 2002 21:52:41 -0500

Update of /cvsroot/dotgnu-pnet/cscctest/csharp/class
In directory subversions:/tmp/cvs-serv1436/csharp/class

Modified Files:
        Makefile.am 
Added Files:
        member_access1.cs member_access1.il member_access1.jl 
        member_access2.cs member_access2.err member_access2.jerr 
Log Message:
tests for bug : 1900


--- NEW FILE ---
/*
 * member_access1.cs - Test valid member access 
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System
{
        public class Object
        {
        }
}
public class Test
{
        class System
        {
        }
        public void FooBar()
        {
        }
}

--- NEW FILE ---
.assembly '<Assembly>'
{
        .ver 0:0:0:0
}
.module '<Module>'
.namespace 'System'
{
.class public auto ansi 'Object'
{
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed 
{
        ret
        .maxstack 0
} // method .ctor
} // class Object
} // namespace System
.class public auto ansi 'Test' extends 'System'.'Object'
{
.class nested private auto ansi 'System' extends 'System'.'Object'
{
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed 
{
        ldarg.0
        call    instance void 'System'.'Object'::'.ctor'()
        ret
        .maxstack 1
} // method .ctor
} // class System
.method public hidebysig instance void 'FooBar'() cil managed 
{
        ret
        .maxstack 0
} // method FooBar
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed 
{
        ldarg.0
        call    instance void 'System'.'Object'::'.ctor'()
        ret
        .maxstack 1
} // method .ctor
} // class Test

--- NEW FILE ---
.assembly '<Assembly>'
{
        .ver 0:0:0:0
}
.module '<Module>'
.namespace 'System'
{
.class public auto ansi 'Object'
{
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed java 
{
        return
        .locals 1
        .maxstack 0
} // method .ctor
} // class Object
} // namespace System
.class public auto ansi 'Test' extends 'System'.'Object'
{
.class nested private auto ansi 'System' extends 'System'.'Object'
{
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed java 
{
        aload_0
        invokespecial   instance void 'System'.'Object'::'.ctor'()
        return
        .locals 1
        .maxstack 1
} // method .ctor
} // class System
.method public hidebysig instance void 'FooBar'() cil managed java 
{
        return
        .locals 1
        .maxstack 0
} // method FooBar
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed java 
{
        aload_0
        invokespecial   instance void 'System'.'Object'::'.ctor'()
        return
        .locals 1
        .maxstack 1
} // method .ctor
} // class Test

--- NEW FILE ---
/*
 * member_access2.cs - Test valid member access 
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System
{
        public class Object
        {
        }
}
public class Test
{
        class System
        {
        }
        public void FooBar()
        {
                System.Object x;
        }
}

--- NEW FILE ---
./member_access2.cs:34: invalid type specification

--- NEW FILE ---
./member_access2.cs:34: invalid type specification

Index: Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** Makefile.am 12 Nov 2002 00:00:00 -0000      1.28
--- Makefile.am 8 Dec 2002 02:52:39 -0000       1.29
***************
*** 37,40 ****
--- 37,42 ----
                method13.cs \
                method14.cs \
+               member_access1.cs \
+               member_access2.cs \
                nested1.cs \
                property1.cs \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]