summaryrefslogtreecommitdiffstats
path: root/tests/cxx/fwd_decl_final.cc
blob: c40bdf59aed1b1fd2b69450113f96d3b76794aef (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
31
//===--- fwd_decl_final.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.
//
//===----------------------------------------------------------------------===//

#include "tests/cxx/fwd_decl_final.h"

void FwdDeclFinal::testFinalTemplate(FinalTemplate<int>* finalTemplate) {
}

void FwdDeclFinal::testFinalClass(FinalClass* finalClass) {
}

/**** IWYU_SUMMARY

tests/cxx/fwd_decl_final.cc should add these lines:
class FinalClass;
template <typename T> class FinalTemplate;

tests/cxx/fwd_decl_final.cc should remove these lines:

The full include-list for tests/cxx/fwd_decl_final.cc:
#include "tests/cxx/fwd_decl_final.h"
class FinalClass;
template <typename T> class FinalTemplate;

***** IWYU_SUMMARY */