blob: e1b5cd60e11170f061eaa1853d64f1e755124bc9 [file] [log] [blame]
Christopher Lambd35c7e32007-07-29 23:29:16 +00001// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
2// XFAIL: i[1-9]86|alpha|ia64|arm|x86_64|amd64
3// NOTE: This should be un-XFAILed when the C++ type qualifiers are fixed
4
5void foo(int & __restrict myptr1, int & myptr2) {
6 myptr1 = 0;
7 myptr2 = 0;
8}