[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / subdirectory-module-maps-working-dir.m
blob43488e8d1360114fda47b90f74d55d078bdf34c0
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
3 // RUN:    -working-directory %S/Inputs \
4 // RUN:    -I subdirectory-module-maps-working-dir \
5 // RUN:    %s -Werror=implicit-function-declaration -verify
7 @import ModuleInSubdir;
9 void foo(void) {
10   int x = bar();
13 // expected-no-diagnostics