We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc49a1 commit b87fec5Copy full SHA for b87fec5
c/misra/test/rules/RULE-6-1/clang/test.c
@@ -10,4 +10,6 @@ struct SampleStruct {
10
signed long x5 : 2; // COMPLIANT
11
signed char x6 : 2; // COMPLIANT
12
enum Color x7 : 3; // COMPLIANT
13
+ //_Atomic(int) x8 : 2; // NON_COMPLIANT[COMPILER_CHECKED] - atomic types are
14
+ //not permitted for bit-fields.
15
} sample_struct;
c/misra/test/rules/RULE-6-1/gcc/test.c
0 commit comments