summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/subdirectory-module-maps-working-dir.m
blob: c106dd453e0420d1b41483461f9e890c008cd58d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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
OpenPOWER on IntegriCloud