1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/testfile.c Thu Aug 23 19:45:36 2018 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +/* 1.5 + * Many Files have license headers. 1.6 + */ 1.7 +// And add other stuff below. 1.8 + 1.9 + 1.10 +int main(int argc, char* argv) { // comments behind code don't matter 1.11 + 1.12 + int zero /* in block comments we are genius enough to 1.13 + * detect, if there is still some code in the line 1.14 + */ = 0; 1.15 + 1.16 + /* otherwise the whole comment is 1.17 + * not counted*/ 1.18 + 1.19 + // this holds also for this empty line 1.20 + 1.21 + return zero; 1.22 +} 1.23 + 1.24 +/* rare case, but must also work: last line is a comment */ 1.25 \ No newline at end of file