Files
codeql/cpp/ql/test/library-tests/syntax-zoo/subscriptexpr.c
Jeroen Ketema f649def3f8 C++: Silence a number of bogus consistency errors in syntax zoo
These were due to several functions occurring that would have the same TRAP
key. By making the functions static the TRAP keys will differ from each other.
2023-03-03 11:16:19 +01:00

6 lines
63 B
C

static void f() {
double x[5];
int i, a, b;
i = x[a + b];
}