Various cleanups of issues caught by clang-tidy
Change-Id: I6e79c121e7c9032cf5053dd31971e719fe76f4b6
diff --git a/build_tests/queue.cc b/build_tests/queue.cc
index 3be667e..7f67f6a 100644
--- a/build_tests/queue.cc
+++ b/build_tests/queue.cc
@@ -1,7 +1,12 @@
+#include <stdio.h>
+
#include "build_tests/queue.q.h"
int main() {
- ::build_tests::TestStruct s;
+ ::build_tests::TestMessage s;
s.field = 971;
- return (s.field == 971) ? 0 : 1;
+ char buffer[1024];
+ s.Print(buffer, sizeof(buffer));
+ buffer[sizeof(buffer) - 1] = '\0';
+ printf("s = {%s}\n", buffer);
}