From 5e41fb90044adab76fe6a0a2560ea5e2c53ac6f8 Mon Sep 17 00:00:00 2001 From: Emilio Cobos Álvarez Date: Fri, 11 Nov 2016 00:29:58 +0100 Subject: ir: Search for compound structures when we have unexposed type and base class cursor. And it's not a valid identifier as a template parameter. See the comment and the tests for details. --- tests/headers/forward-inherit-struct-with-fields.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/headers/forward-inherit-struct-with-fields.hpp (limited to 'tests/headers/forward-inherit-struct-with-fields.hpp') diff --git a/tests/headers/forward-inherit-struct-with-fields.hpp b/tests/headers/forward-inherit-struct-with-fields.hpp new file mode 100644 index 00000000..437fff5d --- /dev/null +++ b/tests/headers/forward-inherit-struct-with-fields.hpp @@ -0,0 +1,8 @@ +template class Rooted; +namespace js { + template class RootedBase { + T* foo; + Rooted* next; + }; +} +template class Rooted : js::RootedBase {}; -- cgit v1.2.3