aboutsummaryrefslogtreecommitdiff
path: root/tests/compiler/sloc-counter/test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiler/sloc-counter/test.cxx')
-rw-r--r--tests/compiler/sloc-counter/test.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/compiler/sloc-counter/test.cxx b/tests/compiler/sloc-counter/test.cxx
index ff0f5b2..70201ee 100644
--- a/tests/compiler/sloc-counter/test.cxx
+++ b/tests/compiler/sloc-counter/test.cxx
@@ -12,6 +12,9 @@
#include <iostream>
+#undef NDEBUG
+#include <cassert>
+
char str[] = "multi\
line\
string\
@@ -25,7 +28,7 @@ int main(
char* argv[] /*array*/)
{
/* comment start */ int x = 0;
- char* s =
+ char* s =
/* comment start */"foo";
int y = 2
/* tricky stuff *//