When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / FrontendC++ / 2003-11-08-ArrayAddress.cpp
blobad02b4a187fb7e2d1e6f643e980eeedb76adec27
1 // RUN: %llvmgxx -xc++ %s -S -o - | grep getelementptr
3 struct foo {
4 int array[100];
5 void *getAddr(unsigned i);
6 };
8 void *foo::getAddr(unsigned i) {
9 return &array[i];