blob: d508548a07ec784d36bd73a8709d0388098b6c26 (
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
|
//===--- using_aliased_symbol_unused.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 we include a file that contains a using decl, that we are not
// forced to include that file if the decl is not used.
#include "using_aliased_symbol-alias.h"
void not_use_symbol() {
}
/**** IWYU_SUMMARY
tests/cxx/using_aliased_symbol_unused.cc should add these lines:
tests/cxx/using_aliased_symbol_unused.cc should remove these lines:
- #include "using_aliased_symbol-alias.h" // lines XX-XX
The full include-list for tests/cxx/using_aliased_symbol_unused.cc:
***** IWYU_SUMMARY */
|