diff --git a/src/tests/errors_test/template_argument_without_tpl_macro.cpp b/src/tests/errors_test/template_argument_without_tpl_macro.cpp new file mode 100644 index 0000000..32f102a --- /dev/null +++ b/src/tests/errors_test/template_argument_without_tpl_macro.cpp @@ -0,0 +1,18 @@ +// +// Copyright Mathieu Champlon 2011 +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) +// + +#include + +namespace +{ + template< typename T > + MOCK_CLASS( my_class ) + { + MOCK_METHOD_EXT( my_method, 1, void( T ), my_method ) + }; +}