diff options
Diffstat (limited to 'eg/oldstyle.c')
-rw-r--r-- | eg/oldstyle.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/eg/oldstyle.c b/eg/oldstyle.c new file mode 100644 index 0000000..ec4bb8b --- /dev/null +++ b/eg/oldstyle.c @@ -0,0 +1,24 @@ +/* +** old-style function starting with a C comment +*/ +void oldstyle(single_before, multiple_before, end_of_line, multiple_eol) + +/* 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 + */ +{ + /* blah, blah, blah, blah, blah! */ +} |