summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/SNIP/testcmt.c
blob: a5614e4ebe0ce5fa20dbe3bd8ddc77db63acd3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* testcmt.c - test getcmt.exe - C comment 1 */
int i;
main()
{
    int j;
    /* C comment 2 */
    int k;
    /* C comment 3 */
    char ch2;    /* C comment 4 */  char ch3;   // C++ comment 1
    // C++ comment 2
    char ch4;
    // C++ comment 3
    i = 0;
    return(i);
}
/* end of testcmt.c - C comment 5 */