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

17 lines
671 B
C

/* l_37_5.c: Translation limits larger than C99 / 5. */
/* 37.5L: Nested source file inclusion. */
/* Define one of the macros X1F, X3F or it will test 127 levels of
#include */
#include "nest1.h"
/* { dg-do preprocess }
{ dg-options "-std=c99 -pedantic" }
{ dg-warning "| More than 15 nesting of #include" "translation limit" { target *-*-* } 0 }
{ dg-final { if ![file exist l_37_5_.i] { return } } }
{ dg-final { if \{ [grep l_37_5_.i "nest = 0x7f"] != "" \} \{ } }
{ dg-final { return \} } }
{ dg-final { fail "l_37_5_.c: more than 15 nesting of #include" } }
*/