llvm/test/C++Frontend/2007-07-29-RestrictRefArg.cpp
Christopher Lamb 66ca0bc73a Un-XFAIL these tests after r40622 fixed them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40623 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-31 07:03:24 +00:00

8 lines
220 B
C++

// 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;
}