diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/Issue_3351.c')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/Issue_3351.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/Issue_3351.c b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/Issue_3351.c new file mode 100644 index 00000000..889d731a --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/Issue_3351.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +void foo(unsigned flags, unsigned COMMENT) { + /* Discard file comment if any */ + if ((flags & COMMENT) != 0) { + while (getchar() != 0) /* null */ ; + } +} |