blob: 012667a471268c214bd7da32e7ce7ca4025078f7 (
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
|
//===--- external_including_internal.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.
//
//===----------------------------------------------------------------------===//
// Tests that when a non-internal file #includes an internal file,
// that we don't try to map the include back to ourself, and protects
// against a regression of a bug where we were both including a file
// in /internal/, and forward-declaring a symbol it provided.
#include "tests/cxx/internal/private.h"
InternalStruct is;
InternalStruct* isp;
/**** IWYU_SUMMARY
(tests/cxx/external_including_internal.cc has correct #includes/fwd-decls)
***** IWYU_SUMMARY */
|