1 #include <stdio.h>
2 
3 typedef unsigned (*VP8LPredictorFunc)(unsigned left, const unsigned* const top);
4 extern const VP8LPredictorFunc kPredictorsC[];
5 
main(void)6 int main(void) {
7   const unsigned top[2] = {0xff7a7a7a, 0xff7a7a7a};
8   const unsigned left = 0xff7b7b7b;
9   const unsigned pred = kPredictorsC[0](left, top + 1);
10   fprintf(stderr, "top[-1]: %8x top[0]: %8x left: %8x pred: %8x\n",
11           top[0], top[1], left, pred);
12   if (pred == left)
13     return 0;
14   fprintf(stderr, "pred != left\n");
15   return 1;
16 }
17