Skip to content

Commit 570dd80

Browse files
committedApr 4, 2024
Properly format the test case
1 parent 645d4e9 commit 570dd80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎c/misra/test/rules/RULE-6-1/clang/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ struct SampleStruct {
1111
signed char x6 : 2; // COMPLIANT
1212
enum Color x7 : 3; // COMPLIANT
1313
//_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
14-
//not permitted for bit-fields.
14+
// not permitted for bit-fields.
1515
} sample_struct;

‎c/misra/test/rules/RULE-6-1/gcc/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ struct SampleStruct {
1111
signed char x6 : 2; // COMPLIANT
1212
enum Color x7 : 3; // COMPLIANT
1313
//_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
14-
//not permitted for bit-fields.
14+
// not permitted for bit-fields.
1515
} sample_struct;

0 commit comments

Comments
 (0)
Please sign in to comment.