summaryrefslogtreecommitdiff
path: root/eg/ccomment.h
diff options
context:
space:
mode:
Diffstat (limited to 'eg/ccomment.h')
-rw-r--r--eg/ccomment.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/eg/ccomment.h b/eg/ccomment.h
new file mode 100644
index 0000000..86bb7cd
--- /dev/null
+++ b/eg/ccomment.h
@@ -0,0 +1,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.
+ */
+);
+