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

24 lines
621 B
C

/* l_37_9.c: Translation limits larger than C99 / 9. */
/* 37.9L: Number of macro definitions. */
#include "m8191.h"
#ifdef X0FFF
/* 0x0fff; */
GBM;
#else
/* 0x1fff; */
MDA;
#endif
/* { dg-do preprocess }
{ dg-options "-std=c99 -pedantic" }
{ dg-warning "| More than 4095 macros defined" "translation limit" { target *-*-* } 0 }
{ dg-final { if ![file exist l_37_9_.i] { return } } }
{ dg-final { if \{ [grep l_37_9_.i "0x1fff"] != "" \} \{ } }
{ dg-final { return \} } }
{ dg-final { fail "l_37_9_.c: defining more than 4095 macros" } }
*/