]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2007-07-29-RestrictPtrArg.c
Vendor import of clang release_38 branch r258549:
[FreeBSD/FreeBSD.git] / test / CodeGen / 2007-07-29-RestrictPtrArg.c
1 // RUN: %clang_cc1 -emit-llvm %s -o - | grep noalias
2
3 void foo(int * __restrict myptr1, int * myptr2) {
4   myptr1[0] = 0;
5   myptr2[0] = 0;
6 }