Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / keep-going-include-cycle.c
blobb0fe24fa25df21fe343c5e041e05b461eee4e25f
1 #include "cycle.h"
2 #include "foo.h"
4 // RUN: env CINDEXTEST_KEEP_GOING=1 c-index-test -test-print-type -I%S/Inputs %s 2> %t.stderr.txt | FileCheck %s
5 // RUN: FileCheck -check-prefix CHECK-DIAG %s < %t.stderr.txt
7 // Verify that we don't stop preprocessing after an include cycle.
8 // CHECK: VarDecl=global_var:1:12 [type=int] [typekind=Int] [isPOD=1]
10 // CHECK-DIAG: cycle.h:1:10: error: #include nested too deeply