xref: /aosp_15_r20/external/clang/test/Modules/include_next.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: rm -rf %t
2*67e74705SXin Li // RUN: %clang_cc1 -I%S/Inputs/include_next/x -I%S/Inputs/include_next/y -verify %s
3*67e74705SXin Li // 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
4*67e74705SXin Li 
5*67e74705SXin Li // expected-no-diagnostics
6*67e74705SXin Li #include "a.h"
7*67e74705SXin Li #include "subdir/b.h"
8*67e74705SXin Li _Static_assert(ax == 1, "");
9*67e74705SXin Li _Static_assert(ay == 2, "");
10*67e74705SXin Li _Static_assert(bx == 3, "");
11*67e74705SXin Li _Static_assert(by == 4, "");
12