llvm-project/llvm/test/FrontendC/2002-09-08-PointerShifts.c

7 lines
100 B
C

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