Christopher Lamb | d35c7e3 | 2007-07-29 23:29:16 +0000 | [diff] [blame^] | 1 | // 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 | |||||
5 | void foo(int * __restrict myptr1, int * myptr2) { | ||||
6 | myptr1[0] = 0; | ||||
7 | myptr2[0] = 0; | ||||
8 | } |