diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:23:48 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:23:48 +0000 | 
| commit | 06d4ba388873e6d1cfa9cd715a8935ecc8cd2097 (patch) | |
| tree | 3eb853da77d46cc77c4b017525a422f9ddb1385b /test/Modules/include_next.c | |
| parent | 30d791273d07fac9c0c1641a0731191bca6e8606 (diff) | |
Diffstat (limited to 'test/Modules/include_next.c')
| -rw-r--r-- | test/Modules/include_next.c | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/test/Modules/include_next.c b/test/Modules/include_next.c new file mode 100644 index 000000000000..f2dafb4a91de --- /dev/null +++ b/test/Modules/include_next.c @@ -0,0 +1,11 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -I%S/Inputs/include_next/x -I%S/Inputs/include_next/y -verify %s +// RUN: %clang_cc1 -I%S/Inputs/include_next/x -I%S/Inputs/include_next/y -verify %s -fmodules -fmodules-cache-path=%t + +// expected-no-diagnostics +#include "a.h" +#include "subdir/b.h" +_Static_assert(ax == 1, ""); +_Static_assert(ay == 2, ""); +_Static_assert(bx == 3, ""); +_Static_assert(by == 4, ""); | 
