diff --git a/harbour/tests/broken/statics2.prg b/harbour/tests/broken/statics2.prg new file mode 100644 index 0000000000..0bddd895d2 --- /dev/null +++ b/harbour/tests/broken/statics2.prg @@ -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