summaryrefslogtreecommitdiff
path: root/eg/cppcomment.h
diff options
context:
space:
mode:
Diffstat (limited to 'eg/cppcomment.h')
-rw-r--r--eg/cppcomment.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/eg/cppcomment.h b/eg/cppcomment.h
new file mode 100644
index 0000000..2f4ff90
--- /dev/null
+++ b/eg/cppcomment.h
@@ -0,0 +1,32 @@
+//
+// function starting with a C++ comment
+//
+void cppcomment(
+ // 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_after
+ // single line after
+ ,
+ int multiple_after
+ //
+ // multiple lines
+ // after.
+ // cant imagine anyone coding like this.
+ //
+);
+