Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2007-08-01-RestrictMethod.cpp
blobb4922beab1b291abf694cbf9569565734661ca80
1 // RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
4 class foo {
5 int member[4];
7 void bar(int * a);
9 };
11 void foo::bar(int * a) __restrict {
12 member[3] = *a;