Workaround Windows bug in test

This commit is contained in:
Jonathan Müller 2018-12-17 15:54:09 +01:00
commit d971d9a59e

View file

@ -297,8 +297,10 @@ struct foo
/// foo<T>::foo(int);
template <typename T>
foo<T>::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);