Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2007-07-29-RestrictPtrArg.c
blob99eae39054b3e3f8ea1ae85b05ab9479e48a7852
1 // RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep noalias
3 void foo(int * __restrict myptr1, int * myptr2) {
4 myptr1[0] = 0;
5 myptr2[0] = 0;