mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
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;
|
||
|
}
|