aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2002-09-08-PointerShifts.c
blob: e58d858c37e09a95c256ed4c02d761664216049e (plain)
1
2
3
4
5
6
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null


int foo(int *A, unsigned X) {
	return A[X];
}