blob: b14c73705ca86c7f77fe84442384466a3f02b960 [file] [log] [blame]
Bruno Cardoso Lopes0ac158a2016-10-28 02:30:45 +00001// RUN: rm -rf %t
Filipe Cabecinhas88b3e4f2017-09-29 15:45:34 +00002// RUN: %clang -cc1 -fsyntax-only -nobuiltininc -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -isystem %S/Inputs/libc-libcxx/sysroot/usr/include -F%S/Inputs/libc-libcxx/sysroot/Frameworks -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ %s
Bruno Cardoso Lopes0ac158a2016-10-28 02:30:45 +00003
4#include <A/A.h>
Vassil Vassileva0320b92017-04-18 20:57:29 +00005
6// RUN: rm -rf %t
7// RUN: mkdir %t
8// RUN: echo "module NonExistent1 { umbrella \"NonExistent\" }" > %t/modules.modulemap
9// RUN: echo "" > %t/A.h
10// RUN: echo "#include \"A.h\" int i;" > %t/T.cxx
11// RUN: %clang -I %t -fmodules -fsyntax-only %t/T.cxx
12// expected-warning {{ umbrella directory }}