☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGenCXX
/
2007-07-29-RestrictPtrArg.cpp
☽
☼
clang/test/CodeGenCXX/2007-07-29-RestrictPtrArg.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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] = 0;
6
myptr2[0] = 0;
7
}