broken statics2
This commit is contained in:
20
harbour/tests/broken/statics2.prg
Normal file
20
harbour/tests/broken/statics2.prg
Normal file
@@ -0,0 +1,20 @@
|
||||
// Statics overlapped!
|
||||
//
|
||||
// Compile statics1.prg, statics2.prg and link both files
|
||||
|
||||
static uA, uB
|
||||
|
||||
function Test()
|
||||
|
||||
QOut( "INSIDE STATICS2.PRG" )
|
||||
QOut( " static uA, uB" )
|
||||
QOut( "" )
|
||||
QOut( " ValType( uA ), ValType( uB ) =>", ValType( uA ), ",", ValType( uB ) )
|
||||
QOut( " uA, uB =>", uA, ",", uB )
|
||||
uA := "a"
|
||||
uB := "b"
|
||||
QOut( ' uA := "a"' )
|
||||
QOut( ' uB := "b"' )
|
||||
QOut( "" )
|
||||
|
||||
return nil
|
||||
Reference in New Issue
Block a user