projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clean up C++ restrict test cases and add a test for restrict qualified methods.
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-11-08-ArrayAddress.cpp.tr
1
// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | 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
}