aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/2007-07-29-RestrictRefArg.cpp
blob: cba86b9a76d97182ac4a89421fb20c9b672fc131 (plain)
1
2
3
4
5
6
7
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
// NOTE: This should be un-XFAILed when the C++ type qualifiers are fixed

void foo(int & __restrict myptr1, int & myptr2) {
  myptr1 = 0;
  myptr2 = 0;
}