aboutsummaryrefslogtreecommitdiff
path: root/test/CFrontend/2002-09-08-PointerShifts.c
blob: cc7e91a7f9a8c8bc6c8a725f21f53d57b35ba92a (plain)
1
2
3
4
5
6
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null


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