Skip to content

Commit 2c971a6

Browse files
committed
Declarations7: reformat testcase RULE-8-12
1 parent 63e5622 commit 2c971a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| test.c:3:18:3:19 | c4 | Nonunique value of enum constant compared to $@ | test.c:3:22:3:23 | c5 | c5 |
1+
| test.c:3:19:3:20 | c4 | Nonunique value of enum constant compared to $@ | test.c:3:23:3:24 | c5 | c5 |

c/misra/test/rules/RULE-8-12/test.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
enum e {c = 3}; // COMPLIANT
2-
enum e1 {c1 = 3, c2}; // COMPLIANT
3-
enum e3 {c3 = 3, c4, c5 = 4}; // NON_COMPLIANT
4-
enum e4 {c6 = 3, c7, c8, c9 = 6}; // COMPLIANT
1+
enum e { c = 3 }; // COMPLIANT
2+
enum e1 { c1 = 3, c2 }; // COMPLIANT
3+
enum e3 { c3 = 3, c4, c5 = 4 }; // NON_COMPLIANT
4+
enum e4 { c6 = 3, c7, c8, c9 = 6 }; // COMPLIANT

0 commit comments

Comments
 (0)