Files
harbour-core/harbour/tests/working/testid.prg
Antonio Linares 974bc2fbc2 make files
1999-05-05 05:45:23 +00:00

38 lines
755 B
Plaintext

// Warning: This sample must be tested using /dTEST compiler flag
#define FIRST
#define SECOND
#define THIRD
function Main()
QOut( "testing Harbour /d compiler flag" )
#ifdef TEST
QOut( "Fine, you have just tested the /d compiler flag" )
#else
QOut( "Please change hb32.bat and include /dTEST compiler flag" )
#endif
#ifdef FIRST
QOut( "FIRST is defined" )
#ifdef SECOND
QOut( "FIRST and SECOND are defined" )
#ifdef THIRD
QOut( "FIRST, SECOND and THIRD are defined" )
#else
QOut( "THIRD is not defined" )
#endif
#else
QOut( "SECOND is not defined" )
#endif
#else
QOut( "FIRST is not defined" )
#endif
return nil