summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/30845-deref.cpp
blob: 9705b51fbbcb1cc785ebe2f507b6ddf2907cb768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

myNewValue = something[arrayNumber] * someOtherValue;
myNewValue = multidimentional[arrayNumber][anotherNumber] * someOtherValue;
myNewValue = noArrayVariableWorksFine * someOtherValue;


int func(int          *thingy,
         volatile int *arrayThingy[NUMBER]);

int func(int          *thingy,
         volatile int *arrayThingy[NUMBER][anotherNumber]);

int func(int          *thingy,
         volatile int *noArrayThingyWorksFine);