about summary refs log tree commit diff stats
path: root/cpp/001help.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/001help.cc')
-rw-r--r--cpp/001help.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/001help.cc b/cpp/001help.cc
index 8f2c65d4..475434e5 100644
--- a/cpp/001help.cc
+++ b/cpp/001help.cc
@@ -43,3 +43,6 @@ using std::cerr;
 using std::string;
 typedef size_t index_t;
 const index_t NOT_FOUND = string::npos;
+:(after "int main(int argc, char* argv[])")
+assert(sizeof(string::size_type) == sizeof(size_t));
+assert(sizeof(index_t) == sizeof(size_t));