forked from OSchip/llvm-project
parent
78dd0b2d3c
commit
d7c51e5423
|
@ -0,0 +1,10 @@
|
|||
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {volatile store}
|
||||
// PR1352
|
||||
|
||||
struct foo {
|
||||
int x;
|
||||
};
|
||||
|
||||
void copy(volatile struct foo *p, struct foo *q) {
|
||||
*p = *q;
|
||||
}
|
Loading…
Reference in New Issue