xref: /aosp_15_r20/external/clang/test/CodeGen/2007-07-29-RestrictPtrArg.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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