misra-test.c: Rule 4.1: Add another compliant test example (#2212)

This commit is contained in:
Sebastian 2019-09-24 20:05:57 +02:00 committed by GitHub
parent 1769af4a6c
commit 3b3ff2bb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ int misra_5_2_field_hides_field1_31y;//5.2
};
const char *s41_1 = "\x41g"; // 4.1
const char *s41_2 = "\x41\x42";
const char *s41_3 = "\x41" "g";
int c41_3 = '\141t'; // 4.1
int c41_4 = '\141\t';