Mercurial > hg > CbC > CbC_llvm
view clang/test/Index/keep-going-include-cycle.c @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
#include "cycle.h" #include "foo.h" // RUN: env CINDEXTEST_KEEP_GOING=1 c-index-test -test-print-type -I%S/Inputs %s 2> %t.stderr.txt | FileCheck %s // RUN: FileCheck -check-prefix CHECK-DIAG %s < %t.stderr.txt // Verify that we don't stop preprocessing after an include cycle. // CHECK: VarDecl=global_var:1:12 [type=int] [typekind=Int] [isPOD=1] // CHECK-DIAG: cycle.h:1:10: error: #include nested too deeply