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

15 lines
585 B
C

/* e_29_3.c: #undef errors. */
/* { dg-do preprocess } */
/* 29.3: Not an identifier. */
#undef "string" /* { dg-error "macro names must be identifiers| invalid macro name| Not an identifier" } */
#undef 123 /* { dg-error "macro names must be identifiers| invalid macro name| Not an identifier" } */
/* 29.4: Excessive token sequence. */
#undef MACRO_0 Junk /* { dg-error "extra tokens| garbage after| Excessive token sequence" } */
/* 29.5: No argument. */
#undef /* { dg-error "no macro name| invalid macro name| No identifier" } */