blob: e92565bbc228a6ebe4f3138166a45d550dd0e6cd (
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
30
|
//===--- associated_h_file_heuristic.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 we correctly say that a .h is an 'associated' .h file
// of a .cc file if it occurs first and shares a basename.
#include "tests/cxx/internal/associated_h_file_heuristic.h"
#include <stdio.h>
#include <time.h>
FILE* f = 0;
/**** IWYU_SUMMARY
tests/cxx/associated_h_file_heuristic.cc should add these lines:
tests/cxx/associated_h_file_heuristic.cc should remove these lines:
- #include <time.h> // lines XX-XX
The full include-list for tests/cxx/associated_h_file_heuristic.cc:
#include "tests/cxx/internal/associated_h_file_heuristic.h"
#include <stdio.h> // for FILE
***** IWYU_SUMMARY */
|