repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC++
/
2007-07-29-RestrictPtrArg.cpp
blob
d54dfbe57121d3ab987824a50c44399087156dd1
1
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2
3
void
foo
(
int
*
__restrict myptr1
,
int
*
myptr2
) {
4
myptr1
[
0
] =
0
;
5
myptr2
[
0
] =
0
;
6
}