diff options
Diffstat (limited to 'clang/test/CodeGen/2002-09-08-PointerShifts.c')
-rw-r--r-- | clang/test/CodeGen/2002-09-08-PointerShifts.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2002-09-08-PointerShifts.c b/clang/test/CodeGen/2002-09-08-PointerShifts.c new file mode 100644 index 0000000..7d1ba6e --- /dev/null +++ b/clang/test/CodeGen/2002-09-08-PointerShifts.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + + +int foo(int *A, unsigned X) { + return A[X]; +} |