llvm-project/llvm/test/FrontendC++/2007-08-01-RestrictMethod.cpp

14 lines
161 B
C++

// RUN: %llvmgxx -S %s -o - | grep noalias
class foo {
int member[4];
void bar(int * a);
};
void foo::bar(int * a) __restrict {
member[3] = *a;
}