summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/deref.cpp
blob: abfb70c7c45a0b93c37acb823335f8447f2205a4 (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);