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.hpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/headers/forward-inherit-struct.hpp (limited to 'tests/headers/forward-inherit-struct.hpp') diff --git a/tests/headers/forward-inherit-struct.hpp b/tests/headers/forward-inherit-struct.hpp new file mode 100644 index 00000000..ac7aef5e --- /dev/null +++ b/tests/headers/forward-inherit-struct.hpp @@ -0,0 +1,5 @@ +template class Rooted; +namespace js { + template class RootedBase {}; +} +template class Rooted : js::RootedBase {}; -- cgit v1.2.3