From d971d9a59e5c80577154fd1d8c9e6b431f7c4268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Mon, 17 Dec 2018 15:54:09 +0100 Subject: [PATCH] Workaround Windows bug in test --- test/cpp_member_function.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);