aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
blob: 2e85abdf25ea391df80f0cad86ec7b2892ae0550 (plain)
1
2
3
4
5
6
// RUN: %llvmgxx -S %s -o - | grep noalias

void foo(int * __restrict myptr1, int * myptr2) {
  myptr1[0] = 0;
  myptr2[0] = 0;
}