diff options
Diffstat (limited to 'test/CodeGen/2002-09-08-PointerShifts.c')
-rw-r--r-- | test/CodeGen/2002-09-08-PointerShifts.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/2002-09-08-PointerShifts.c b/test/CodeGen/2002-09-08-PointerShifts.c new file mode 100644 index 000000000000..7d1ba6e90fe4 --- /dev/null +++ b/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]; +} |