| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang -fsyntax-only -fmodules -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 -Xclang -verify |
| 6 | |
| 7 | @import ModuleInSubdir; |
| 8 | |
| 9 | void foo() { |
| 10 | int x = bar(); |
| 11 | } |
| 12 | |
| 13 | // expected-no-diagnostics |
| 14 |