Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

23 lines
368 B
C

/* n_29.c: #undef directive. */
#include "defs.h"
main( void)
{
int DEFINED = 1;
fputs( "started\n", stderr);
/* 29.1: Undefined macro is not a macro. */
#define DEFINED
#undef DEFINED
assert( DEFINED == 1);
/* 29.2: Undefining undefined name is not an error. */
#undef UNDEFINED
fputs( "success\n", stderr);
return 0;
}