blob: d7c96f562acc7671bf83c7c1608ef2122f90efbd [file] [log] [blame]
Eric Christopher335552e2011-08-19 23:08:33 +00001// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3void foo(int * __restrict myptr1, int * myptr2) {
4 // CHECK: noalias
5 myptr1[0] = 0;
6 myptr2[0] = 0;
7}