1 // RUN: %clang_cc1 -verify %s -E -o /dev/null -I%S/Inputs/include-next-1 -I%S/Inputs/include-next-2 -DTEST=1
2 // RUN: %clang_cc1 -verify %s -E -o /dev/null -I%S/Inputs/include-next-1 -I%S/Inputs/include-next-2 -DTEST=2
3 // RUN: %clang_cc1 -verify %s -E -o /dev/null -I%S/Inputs/include-next-1 -I%S/Inputs/include-next-2 -DTEST=3
6 // expected-warning@+1 {{#include_next in primary source file}}
13 // expected-no-diagnostics
20 // expected-warning@foo.h:1 {{#include_next in file found relative to primary source file or found by absolute path}}
21 #include "Inputs/include-next-1/foo.h"