summaryrefslogtreecommitdiff
path: root/eg/cppcomment.h
diff options
context:
space:
mode:
authorbehdad <behdad>2004-05-03 05:17:48 +0000
committerbehdad <behdad>2004-05-03 05:17:48 +0000
commit577ed4095383ef5284225d45709e6b5f0598a064 (patch)
tree6c7d0ce55124a688b4d7050e684d9d7a1e3aa71d /eg/cppcomment.h
downloadc2man-master.tar.gz
Initial revisionHEADoriginmaster
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.
+ //
+);
+