[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / test / CodeGenCXX / 2007-07-29-RestrictPtrArg.cpp
blobd7c96f562acc7671bf83c7c1608ef2122f90efbd
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
3 void foo(int * __restrict myptr1, int * myptr2) {
4 // CHECK: noalias
5 myptr1[0] = 0;
6 myptr2[0] = 0;