blob: 43488e8d1360114fda47b90f74d55d078bdf34c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: rm -rf %t
// RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
// RUN: -working-directory %S/Inputs \
// RUN: -I subdirectory-module-maps-working-dir \
// RUN: %s -Werror=implicit-function-declaration -verify
@import ModuleInSubdir;
void foo(void) {
int x = bar();
}
// expected-no-diagnostics
|