Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
2a6e528cbd687e22744d5d7eba428afea99da300
/
.
/
test
/
CodeGenCXX
/
2007-07-29-RestrictRefArg.cpp
blob: aa9f48bb0abc600ab2fd7cfe3f423532e27fc28f [
file
] [
log
] [
blame
]
Eric Christopher
335552e
2011-08-19 23:08:33 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3
void
foo
(
int
&
__restrict myptr1
,
int
&
myptr2
)
{
4
// CHECK: noalias
5
myptr1
=
0
;
6
myptr2
=
0
;
7
}