projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add tests for generating noalias parameter attribute from __restrict qualified functi...
[oota-llvm.git]
/
test
/
C++Frontend
/
2007-07-29-RestrictRefArg.cpp
1
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2
// XFAIL: i[1-9]86|alpha|ia64|arm|x86_64|amd64
3
// NOTE: This should be un-XFAILed when the C++ type qualifiers are fixed
4
5
void foo(int & __restrict myptr1, int & myptr2) {
6
myptr1 = 0;
7
myptr2 = 0;
8
}