aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/include_next.c
blob: f2dafb4a91de5a099eaf7d04c1db8cea33e2cf0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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, "");