Richard Smith | 04765ae | 2015-05-21 01:20:10 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules -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}} expected-error {{}} | ||||
7 | // expected-note@cycle2.h:6 {{here}} | ||||
8 | |||||
9 | #include "cycle2.h" | ||||
10 | C2 c3; |