repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2007-08-01-RestrictMethod.cpp
blob
b4922beab1b291abf694cbf9569565734661ca80
1
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2
3
4
class
foo
{
5
int
member
[
4
];
6
7
void
bar
(
int
*
a
);
8
9
};
10
11
void
foo
::
bar
(
int
*
a
)
__restrict
{
12
member
[
3
] = *
a
;
13
}