about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-05 17:13:49 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-05 17:13:49 -0700
commitf1f8cadf10bfa234819cbe55234358fd1c886ce7 (patch)
tree16843fdd86dcdcfae4dde54ffa1ca7ca909f469a /cpp
parent6715cbfd2f3d462bb324b27c077240967023edc0 (diff)
downloadmu-f1f8cadf10bfa234819cbe55234358fd1c886ce7.tar.gz
1263
Diffstat (limited to 'cpp')
-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));