summaryrefslogtreecommitdiff
path: root/eg/ccomment.h
blob: 86bb7cd78892fa9f5c8833281b3af8efa8e5afbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
** function starting with a C comment
*/
void ccomment(
	/* single line before */
	int single_before,

	/*
	 * multiple
	 * lines before
	 */
	int multiple_before,

	int end_of_line,	/* end of the line */

	int multiple_eol,	/*
				 * multiple lines
				 * starting at
				 * the EOL
				 */

	int single_eol_before_comma	/* end of line, but before comma */,

	int multiple_eol_before_comma	/*
					 * multiple lines after, at the EOL and
					 * before comma.
					 * can't imagine anyone coding this.
					 */,

	int single_after
	/* single line after */
	,

	int multiple_after
	/*
	 * multiple lines
	 * after.
	 * can't imagine anyone coding like this.
	 */
);