xref: /llvm-project/clang/test/CodeGen/2007-07-29-RestrictPtrArg.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1 // RUN: %clang_cc1 -emit-llvm %s -o - | grep noalias
2 
foo(int * __restrict myptr1,int * myptr2)3 void foo(int * __restrict myptr1, int * myptr2) {
4   myptr1[0] = 0;
5   myptr2[0] = 0;
6 }
7