Bruno Cardoso Lopes | a0d9aca | 2016-10-28 02:37:04 +0000 | [diff] [blame] | 1 | // REQUIRES: system-darwin |
| 2 | |
Bruno Cardoso Lopes | 0ac158a | 2016-10-28 02:30:45 +0000 | [diff] [blame] | 3 | // RUN: rm -rf %t |
| 4 | // RUN: %clang -cc1 -fsyntax-only -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -F%S/Inputs/libc-libcxx/sysroot/Frameworks -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ %s |
| 5 | |
| 6 | #include <A/A.h> |
Vassil Vassilev | a0320b9 | 2017-04-18 20:57:29 +0000 | [diff] [blame^] | 7 | |
| 8 | // RUN: rm -rf %t |
| 9 | // RUN: mkdir %t |
| 10 | // RUN: echo "module NonExistent1 { umbrella \"NonExistent\" }" > %t/modules.modulemap |
| 11 | // RUN: echo "" > %t/A.h |
| 12 | // RUN: echo "#include \"A.h\" int i;" > %t/T.cxx |
| 13 | // RUN: %clang -I %t -fmodules -fsyntax-only %t/T.cxx |
| 14 | // expected-warning {{ umbrella directory }} |