diff options
author | Joe Ellis <joe.ellis@arm.com> | 2020-10-27 18:17:45 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-11-25 14:39:31 +0100 |
commit | c2b5c46ef4ab2de1281c1d8099daa49621e29794 (patch) | |
tree | a166359a0e864e4e07a36f37ccaca8fa7580b3c0 /tests/headers/dynamic_loading_with_class.hpp | |
parent | fc5fa9a8f2847b3d53ab88b80dd86165ea4da29b (diff) |
Add tests for dynamic binding generation
Diffstat (limited to 'tests/headers/dynamic_loading_with_class.hpp')
-rw-r--r-- | tests/headers/dynamic_loading_with_class.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/headers/dynamic_loading_with_class.hpp b/tests/headers/dynamic_loading_with_class.hpp new file mode 100644 index 00000000..632db4d0 --- /dev/null +++ b/tests/headers/dynamic_loading_with_class.hpp @@ -0,0 +1,15 @@ +// bindgen-flags: --dynamic-loading TestLib + +int foo(void *x); + +class A { + int _x; + + public: + A(int x); + + void some_function(); + void some_other_function(); +}; + +void bar(); |