1 // RUN: rm -rf %t 2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fmodules-search-all -I %S/Inputs/undefined-type-fixit %s -verify 3 4 //#include "public1.h" 5 #include "public2.h" 6 #include "public2sub.h" 7 8 use_this1 client_variable1; // expected-error{{declaration of 'use_this1' must be imported from module 'public1' before it is required}} 9 use_this2 client_variable2; 10 use_this2sub client_variable2sub; 11 12 // expected-note@Inputs/undefined-type-fixit/public1.h:4 {{previous declaration is here}} 13