test/testfile.c

changeset 57
68018eac46c3
child 66
be2084398c37
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/testfile.c	Thu Aug 23 19:45:36 2018 +0200
@@ -0,0 +1,21 @@
+/*
+ * Many Files have license headers.
+ */
+// And add other stuff below.
+
+
+int main(int argc, char* argv) { // comments behind code don't matter
+    
+    int zero /* in block comments we are genius enough to
+              * detect, if there is still some code in the line
+              */ = 0;
+    
+    /* otherwise the whole comment is
+     * not counted*/   
+    
+    // this holds also for this empty line
+    
+    return zero;
+}
+
+/* rare case, but must also work: last line is a comment */
\ No newline at end of file

mercurial