Using _MSC_VER there was wrong, better just use the already existing ifdefs for
[oota-llvm.git] / test / FrontendC++ / 2007-08-01-RestrictMethod.cpp
1 // RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2
3
4 class foo {
5   int member[4];
6   
7   void bar(int * a);
8   
9 };
10
11 void foo::bar(int * a) __restrict {
12   member[3] = *a;
13 }