summaryrefslogtreecommitdiffstats
path: root/tests/c/keep_includes.c
blob: 7866b4c778c12dfee7ec92dd6982395918a377c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===--- keep_includes.c - test input file for iwyu -----------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// keep_includes-d1.h is an empty file.
// Normally it would be removed.
// In this test we are exercising the --keep command line option.
// IWYU should not remove keep_include-d1.h when
// --keep=tests/c/keep_includes*.h is used.

#include "keep_includes-d1.h"

/**** IWYU_SUMMARY

(tests/c/keep_includes.c has correct #includes/fwd-decls)

***** IWYU_SUMMARY */