Fix a case where ScalarEvolution was expanding pointer arithmetic
[oota-llvm.git] / test / FrontendC++ / 2007-07-29-RestrictRefArg.cpp
1 // RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2
3 void foo(int & __restrict myptr1, int & myptr2) {
4   myptr1 = 0;
5   myptr2 = 0;
6 }