summaryrefslogtreecommitdiffstats
path: root/tests/cxx/pragma_associated.cc
blob: b81b6d53b25ef4460f73ebf40fce88aa7ea409d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===--- pragma_associated.cc - 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.
//
//===----------------------------------------------------------------------===//

// IWYU_ARGS: -I .

#include "tests/cxx/pragma_associated-d1.h"  // IWYU pragma: associated
#include "tests/cxx/pragma_associated-d2.h"  // IWYU pragma: associated
#include "tests/cxx/pragma_associated.h"  // This still counts as associated.
#include "tests/cxx/direct.h"  // This is unused.

/**** IWYU_SUMMARY

tests/cxx/pragma_associated.cc should add these lines:

tests/cxx/pragma_associated.cc should remove these lines:
- #include "tests/cxx/direct.h"  // lines XX-XX

The full include-list for tests/cxx/pragma_associated.cc:
#include "tests/cxx/pragma_associated-d1.h"
#include "tests/cxx/pragma_associated-d2.h"
#include "tests/cxx/pragma_associated.h"

***** IWYU_SUMMARY */