// Copyright (C) 2017-2022 Jonathan Müller and cppast contributors // SPDX-License-Identifier: MIT #include #include #include #include #include "test_parser.hpp" using namespace cppast; TEST_CASE("cpp_class_template") { auto code = R"( // check everything not related to members first /// template /// class a{ /// }; template class a {}; /// template /// struct b{ /// }; template struct b {}; /// templateclass T> /// union c; template