diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-04-03 12:57:19 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-04-03 13:05:04 +0200 |
commit | 4faaf9a5f3962f1548824cb42fb8559dc6baac7d (patch) | |
tree | e1fadf196fba1da7a4152aa40a95bbb1e8a8472e /tests/headers | |
parent | b21086cc3ba5aaeea53082e0618733a1b354daab (diff) |
codegen: Deal with overloads in method code generation.
Fixes #2019
Diffstat (limited to 'tests/headers')
-rw-r--r-- | tests/headers/issue-2019.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/issue-2019.hpp b/tests/headers/issue-2019.hpp new file mode 100644 index 00000000..2e9a3ffd --- /dev/null +++ b/tests/headers/issue-2019.hpp @@ -0,0 +1,10 @@ +// bindgen-flags: --disable-nested-struct-naming + +struct A { + static A make(); + int a; +}; +struct B { + static B make(); + int b; +}; |