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

19 lines
559 B
C

/* n_29.c: #undef directive. */
/* 29.1: Undefined macro is not a macro. */
/* DEFINED; */
#define DEFINED
#undef DEFINED
DEFINED;
/* 29.2: Undefining undefined name is not an error. */
#undef UNDEFINED
/* { dg-do preprocess }
{ dg-final { if ![file exist n_29.i] { return } } }
{ dg-final { if \{ [grep n_29.i "DEFINED"] != "" \} \{ } }
{ dg-final { return \} } }
{ dg-final { fail "n_29.c: #undef" } }
*/