TypeDef helpers

This commit is contained in:
Michael Davidsaver
2019-12-19 13:01:36 -08:00
parent 4a3818420f
commit bc048cea78
3 changed files with 87 additions and 12 deletions
+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", {