clang/test/Modules/subdirectory-module-maps-working-dir.m
raw| 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 |
| 6 | |
| 7 | @import ModuleInSubdir; |
| 8 | |
| 9 | void foo(void) { |
| 10 | int x = bar(); |
| 11 | } |
| 12 | |
| 13 | // expected-no-diagnostics |