Skip to content

Commit c43701f

Browse files
authored
Update object2.c
1 parent 1fd3b9c commit c43701f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

c/misra/test/rules/RULE-8-4/object2.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
short i3 = 0; // NON_COMPLIANT - not detected as `extern int i3` exists
1+
// not detected as `extern int i3` exists
2+
short i3 = 0; // NON_COMPLIANT[FALSE_NEGATIVE]
23

3-
signed int i4 = 0; // COMPLIANT
4+
signed int i4 = 0; // COMPLIANT

0 commit comments

Comments
 (0)