diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-11 00:29:58 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-11 00:42:00 +0100 |
commit | 5e41fb90044adab76fe6a0a2560ea5e2c53ac6f8 (patch) | |
tree | a0374a43c24136f61d45b3fd77a55dcf57f4f787 /tests/headers/multiple-inherit-empty-correct-layout.hpp | |
parent | b3322ddf2ae66a287bf53e94bcf1500ae5981c74 (diff) |
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.
Diffstat (limited to 'tests/headers/multiple-inherit-empty-correct-layout.hpp')
-rw-r--r-- | tests/headers/multiple-inherit-empty-correct-layout.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/headers/multiple-inherit-empty-correct-layout.hpp b/tests/headers/multiple-inherit-empty-correct-layout.hpp new file mode 100644 index 00000000..1e2b133a --- /dev/null +++ b/tests/headers/multiple-inherit-empty-correct-layout.hpp @@ -0,0 +1,3 @@ +struct Foo {}; +struct Bar {}; +struct Baz : public Foo, public Bar {}; |