Richard Smith | 25d5075 | 2014-10-20 00:15:49 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
| 2 | // RUN: %clang_cc1 -I%S/Inputs/include_next/x -I%S/Inputs/include_next/y -verify %s |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 3 | // RUN: %clang_cc1 -I%S/Inputs/include_next/x -I%S/Inputs/include_next/y -verify %s -fmodules -fimplicit-module-maps -fmodules-cache-path=%t |
Richard Smith | 25d5075 | 2014-10-20 00:15:49 +0000 | [diff] [blame] | 4 | |
| 5 | // expected-no-diagnostics |
| 6 | #include "a.h" |
| 7 | #include "subdir/b.h" |
| 8 | _Static_assert(ax == 1, ""); |
| 9 | _Static_assert(ay == 2, ""); |
| 10 | _Static_assert(bx == 3, ""); |
| 11 | _Static_assert(by == 4, ""); |