llvm-project/clang/test/CodeGen/2002-09-08-PointerShifts.c

7 lines
96 B
C

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