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 3 4 #include "cycle1.h" 5 C1 c1; 6 C2 c2; // expected-error {{must be imported}} 7 // expected-note@cycle2.h:6 {{here}} 8 9 #include "cycle2.h" 10 C2 c3; 11