summaryrefslogtreecommitdiff
path: root/modules/codec/tests/schema.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/tests/schema.cpp')
-rw-r--r--modules/codec/tests/schema.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/codec/tests/schema.cpp b/modules/codec/tests/schema.cpp
index 71e806d..31c68f2 100644
--- a/modules/codec/tests/schema.cpp
+++ b/modules/codec/tests/schema.cpp
@@ -44,6 +44,10 @@ struct schema_hash_test_multi {
namespace schema {
using namespace saw::schema;
+
+using HashIface = Interface<
+ Member<Function<Tuple<UInt16>, UInt32>, "foo">
+>;
}
SAW_TEST("Schema Hashes"){
@@ -62,7 +66,8 @@ SAW_TEST("Schema Hashes"){
schema_test_pair<schema::SignedInteger, 2923333106>,
schema_test_pair<schema::UnsignedInteger, 3300532028>,
schema_test_pair<schema::FloatingPoint, 1860828258>,
- schema_test_pair<schema::String, 1669061438>
+ schema_test_pair<schema::String, 1669061438>,
+ schema_test_pair<schema::HashIface, 3365712860>
>::check();
}
}