diff --git a/test/cpp_member_function.cpp b/test/cpp_member_function.cpp index c3f9f01..c7f3666 100644 --- a/test/cpp_member_function.cpp +++ b/test/cpp_member_function.cpp @@ -297,8 +297,10 @@ struct foo /// foo::foo(int); template foo::foo(int) {} +; // there's a bug on MSVC's libclang, we have to give it a semicolon )"; } + INFO(is_template); cpp_entity_index idx; auto file = parse(idx, "cpp_constructor.cpp", code);