test/testfile.c

Tue, 08 Apr 2025 19:10:52 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 08 Apr 2025 19:10:52 +0200
changeset 80
55dc85743dd1
parent 66
be2084398c37
permissions
-rw-r--r--

do not treat unknown option as directory - fixes #635

/*
 * 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 */

mercurial