Skip to content

Commit b5377b4

Browse files
committed
Rule 10.4: Update to reflect EssentialType improvements
1 parent 352f778 commit b5377b4

File tree

1 file changed

+4
-0
lines changed
  • c/misra/test/rules/RULE-10-4

1 file changed

+4
-0
lines changed

c/misra/test/rules/RULE-10-4/test.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,8 @@ void testOps() {
3333
A < A; // COMPLIANT
3434
e1a < e2a; // NON_COMPLIANT
3535
A < D; // NON_COMPLIANT
36+
37+
enum { G };
38+
s32 + G; // COMPLIANT
39+
c == '\n'; // COMPLIANT
3640
}

0 commit comments

Comments
 (0)