TypeDef helpers

This commit is contained in:
Michael Davidsaver committed 2019-12-19 18:42:39 -08:00
1 parent 4a3818420f
commit bc048cea78
3 files changed
+87 -12

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ void testTypeDef()
testEq(std::string(SB()<<TypeDef()),
"<Empty>\n");
testEq(std::string(SB()<<TypeDef(TypeCode::Struct, "simple_t")),
testEq(std::string(SB()<<TypeDef(TypeCode::Struct, "simple_t", {})),
"struct \"simple_t\"\n");
TypeDef def(TypeCode::Struct, "simple_t", {