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

7 lines
103 B
C
Raw Normal View History

2004-11-07 06:41:00 +08:00
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
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
}