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-RestrictRefArg.cpp
blob
0c28e4d27a2bb05037a105950339c2cd0dd20d4d
1
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2
3
void
foo
(
int
&
__restrict myptr1
,
int
&
myptr2
) {
4
myptr1
=
0
;
5
myptr2
=
0
;
6
}