llvm-project/clang/test/Preprocessor/include-cycle.c

6 lines
153 B
C

// RUN: not %clang_cc1 -E -I%S/Inputs -ferror-limit 20 %s
// Test that preprocessing terminates even if we have inclusion cycles.
#include "cycle/a.h"