sqc 0.4.13

Software Code Quality - CERT C compliance checker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Rule: BRULE-065
 * Status: FAIL - Triple pointer exceeds max depth of 2
 */

void test_triple_pointer(void) {
    int ***p = 0;
}

void test_triple_pointer_param(int ***p) {
    (void)p;
}

void test_quad_pointer(void) {
    char ****q = 0;
}