mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 16:34:03 +00:00
4eda058550
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40681 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
183 B
C++
14 lines
183 B
C++
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
|
|
|
|
|
|
class foo {
|
|
int member[4];
|
|
|
|
void bar(int * a);
|
|
|
|
};
|
|
|
|
void foo::bar(int * a) __restrict {
|
|
member[3] = *a;
|
|
}
|