3 int main(char[][] args)
5 int w_total; // a comment and code on the same line
7 /+ begin a nestable comment block
8 /* this comment is nested within another */
9 this_code_is_commented_out();
12 /* when inside a c-style block comment, /+ does not start a nested comment */
15 // when inside a line comment, /+ does not start a nested comment
16 this_line_is_also_code();
18 /+ when inside a nestable comment, /+ does begin a nested comment
19 now we close the inner comment +/
20 This line is still part of the outer comment
21 now we close the outer comment +/
23 x = `when inside a backtick string, /+ does not begin a nested comment`;
24 y = `when inside a backtick string, /* does not begin a nested comment`;
25 z = `when inside a backtick string, // does not begin a nested comment`;