Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Modules / submodule-visibility-cycles.cpp
blob4fecdb98abd1f0ab21e64bb48baed99bcba9439e
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-local-submodule-visibility -fmodules-cache-path=%t -I%S/Inputs/submodule-visibility -verify %s
4 #include "cycle1.h"
5 C1 c1;
6 C2 c2; // expected-error {{missing '#include "cycle2.h"'; 'C2' must be declared}}
7 // expected-note@cycle2.h:6 {{here}}
9 #include "cycle2.h"
10 C2 c3;