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