summaryrefslogtreecommitdiff
path: root/test/CodeGen/2002-09-08-PointerShifts.c
blob: 7d1ba6e90fe43ef66b383592150359a538fc33f2 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null


int foo(int *A, unsigned X) {
  return A[X];
}