slightly increase prettiness.
[llvm/avr.git] / test / FrontendC / 2003-11-03-AddrArrayElement.c
blobed3fc1a6cb42c0ef05927aea6ca72e1f618697d3
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
3 // This should be turned into a tasty getelementptr instruction, not a nasty
4 // series of casts and address arithmetic.
6 char Global[100];
8 char *test1(unsigned i) {
9 return &Global[i];