Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Modules / undefined-type-fixit1.cpp
blob8cb8a3c55de512833bacc7e4c385ab40659c0394
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fmodules-search-all -I %S/Inputs/undefined-type-fixit %s -verify
4 //#include "public1.h"
5 #include "public2.h"
6 #include "public2sub.h"
8 use_this1 client_variable1; // expected-error{{'use_this1' must be declared}}
9 use_this2 client_variable2;
10 use_this2sub client_variable2sub;
12 // expected-note@Inputs/undefined-type-fixit/public1.h:4 {{declaration here is not visible}}