diff options
Diffstat (limited to 'tests/projects/plugins/project/src/pli/hasissues.pli')
-rw-r--r-- | tests/projects/plugins/project/src/pli/hasissues.pli | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/projects/plugins/project/src/pli/hasissues.pli b/tests/projects/plugins/project/src/pli/hasissues.pli new file mode 100644 index 00000000000..eaacb6c917c --- /dev/null +++ b/tests/projects/plugins/project/src/pli/hasissues.pli @@ -0,0 +1,13 @@ +foo: proc options(main); + declare i fixed decimal init (0); + + if i = 42 then + put list ('The answer is... '); /* Non-Compliant - This statement should be enclosed in a DO ... END one */ + put list ('42!'); /* This statement will always and unconditionally be executed! Its indentation level is misleading. */ +end; + +bar: proc options(main); + /* Non-Compliant - The trailing space, following "Hello," is not readable and could be removed by some text editors */ + put list ('Hello, +world'); +end; |