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

13 lines
383 B
C

/* e_14.c: Illegal #if expressions. */
/* { dg-do preprocess } */
/* { dg-options "-ansi -pedantic-errors -w" } */
#define A 1
#define B 1
/* 14.1: String literal is not allowed in #if expression. */
#if "string" /* { dg-error "not (valid|allowed) in (#if|preprocessor)( expressions|)| Can't use a string literal" } */
#endif /* The second error ? */