llvm-for-llvmta/tools/clang/test/CodeGen/2002-09-08-PointerShifts.c

7 lines
96 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
int foo(int *A, unsigned X) {
return A[X];
}