Skip to content

Commit

Permalink
Properly format the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rvermeulen committed Apr 4, 2024
1 parent 645d4e9 commit 570dd80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c/misra/test/rules/RULE-6-1/clang/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ struct SampleStruct {
signed char x6 : 2; // COMPLIANT
enum Color x7 : 3; // COMPLIANT
//_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
//not permitted for bit-fields.
// not permitted for bit-fields.
} sample_struct;
2 changes: 1 addition & 1 deletion c/misra/test/rules/RULE-6-1/gcc/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ struct SampleStruct {
signed char x6 : 2; // COMPLIANT
enum Color x7 : 3; // COMPLIANT
//_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
//not permitted for bit-fields.
// not permitted for bit-fields.
} sample_struct;

0 comments on commit 570dd80

Please sign in to comment.