mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-13 17:37:00 +00:00

Fixes a problem when we have multiple inclusion cycles and try to enumerate all possible ways to reach the max inclusion depth. rdar://problem/38871876 Reviewers: bruno, rsmith, jkorous, aaron.ballman Reviewed By: bruno, jkorous, aaron.ballman Subscribers: dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D48786 llvm-svn: 337953
6 lines
153 B
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"
|