aboutsummaryrefslogtreecommitdiff
path: root/test/test_msg.cpp
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2018-07-25 12:20:07 -0400
committerDeterminant <tederminant@gmail.com>2018-07-25 12:20:07 -0400
commit1b006d5164c605ef44652b4442309983bfc0d24a (patch)
tree096c6fe702888850d4bf08cf682579f73a2e9479 /test/test_msg.cpp
parentcd2fc3625d09f2f3f062648ff9963414e0140e2a (diff)
...
Diffstat (limited to 'test/test_msg.cpp')
-rw-r--r--test/test_msg.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_msg.cpp b/test/test_msg.cpp
index e4f35fa..ee13166 100644
--- a/test/test_msg.cpp
+++ b/test/test_msg.cpp
@@ -61,6 +61,8 @@ struct MsgTest {
}
};
+const opcode_t MsgTest::opcode;
+
int main() {
salticidae::MsgBase<opcode_t> msg(MsgTest(10));
printf("%s\n", std::string(msg).c_str());