//===--- macro_location_tpl-d2.h - 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. // //===----------------------------------------------------------------------===// // Declare a couple of function templates whose specializations are used in a // macro, to check that author intent hints attribute uses to the right place. template void expansion_template() = delete; template <> void expansion_template(); template void spelling_template() = delete; template <> void spelling_template(); // As above, but for class templates. template struct ExpansionTemplate { void method() { } }; template struct SpellingTemplate { void method() { } };