14 lines
332 B
Mathematica
14 lines
332 B
Mathematica
|
// RUN: rm -rf %t
|
||
|
// RUN: %clang -fsyntax-only -fmodules -fmodules-cache-path=%t \
|
||
|
// RUN: -working-directory %S/Inputs \
|
||
|
// RUN: -I subdirectory-module-maps-working-dir \
|
||
|
// RUN: %s -Werror=implicit-function-declaration -Xclang -verify
|
||
|
|
||
|
@import ModuleInSubdir;
|
||
|
|
||
|
void foo() {
|
||
|
int x = bar();
|
||
|
}
|
||
|
|
||
|
// expected-no-diagnostics
|