blob: aa9f48bb0abc600ab2fd7cfe3f423532e27fc28f [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;
6 myptr2 = 0;
7}