| 1 | //===--- badinc-inl.h - test input file for iwyu --------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef INCLUDE_WHAT_YOU_USE_TESTS_CXX_BADINC_INL_H_ |
| 11 | #define INCLUDE_WHAT_YOU_USE_TESTS_CXX_BADINC_INL_H_ |
| 12 | |
| 13 | #include <locale.h> // the way to get NULL without size_t |
| 14 | #include "tests/cxx/badinc-private.h" |
| 15 | #include "tests/cxx/badinc-private2.h" |
| 16 | |
| 17 | typedef int (*InlH_FunctionPtr)(int); |
| 18 | |
| 19 | InlH_FunctionPtr InlH_Function(class InlH_Class* c=NULL) { |
| 20 | return NULL; |
| 21 | } |
| 22 | |
| 23 | HPrivate_Enum InlH_PrivateFunction() { return HP1; } |
| 24 | |
| 25 | #endif // INCLUDE_WHAT_YOU_USE_TESTS_CXX_BADINC_INL_H_ |
| 26 | |
| 27 | |
| 28 | /**** IWYU_SUMMARY |
| 29 | |
| 30 | (tests/cxx/badinc-inl.h has correct #includes/fwd-decls) |
| 31 | |
| 32 | ***** IWYU_SUMMARY */ |