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

7 lines
100 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2004-11-07 06:41:00 +08:00
2002-09-20 22:37:46 +08:00
int foo(int *A, unsigned X) {
return A[X];
2002-09-20 22:37:46 +08:00
}