Files
harbour-core/tests/clasinh.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

39 lines
490 B
Plaintext

#include "hbclass.ch"
PROCEDURE Main()
LOCAL oObject, oBase
oObject := TAnyClass():New()
oBase := TClassBase():New()
HB_SYMBOL_UNUSED( oObject )
HB_SYMBOL_UNUSED( oBase )
RETURN
CREATE CLASS TClassBase
METHOD New()
METHOD Test() INLINE Alert( "Test" )
ENDCLASS
METHOD New() CLASS TClassBase
RETURN Self
CREATE CLASS TAnyClass FROM TClassBase
METHOD New()
ENDCLASS
METHOD New() CLASS TAnyClass
::super:New()
::super:Test()
RETURN Self