minix/external/bsd/llvm/dist/clang/test/CodeGen/2002-09-08-PointerShifts.c

7 lines
96 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
int foo(int *A, unsigned X) {
return A[X];
}