summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/include-cycle.c
blob: 52fcfbd27ad8ee705e4409ca38871b878e5d9097 (plain)
1
2
3
4
5
// 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"
OpenPOWER on IntegriCloud