The BLX instruction is encoded differently than the BL, because why not? In
[oota-llvm.git] / test / FrontendC++ / 2003-11-08-ArrayAddress.cpp
1 // RUN: %llvmgxx -xc++ %s -S -o - | grep getelementptr
2
3 struct foo {
4   int array[100];
5   void *getAddr(unsigned i);
6 };
7
8 void *foo::getAddr(unsigned i) {
9   return &array[i];
10 }