summaryrefslogtreecommitdiff
path: root/modules/tools/tests/c_iface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tools/tests/c_iface.cpp')
-rw-r--r--modules/tools/tests/c_iface.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/tools/tests/c_iface.cpp b/modules/tools/tests/c_iface.cpp
index b70131e..35591f8 100644
--- a/modules/tools/tests/c_iface.cpp
+++ b/modules/tools/tests/c_iface.cpp
@@ -22,6 +22,13 @@ using TestStructArray = Struct<
Member<TestArray, "array">
>;
+using TestStructMore = Struct<
+ Member<Int64, "int">,
+ Member<UInt16, "uint">,
+ Member<Float32, "float">,
+ Member<Float64, "double">
+>;
+
using TestEmptyInterface = Interface<>;
using TestOneFunctionInterface = Interface<
@@ -44,7 +51,8 @@ using TestMultiFunctionInterface = Interface<
Member<Function<TestArray, Float32>, "foo">,
Member<Function<Float64, Int8>, "bar">,
Member<Function<UInt32, TestArray>, "baz">,
- Member<Function<UInt32, Float64>, "banana">
+ Member<Function<UInt32, Float64>, "banana">,
+ Member<Function<TestStructMore, Float32>, "struct">
>;
}