1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test/FrontendC/2007-04-24-VolatileStructCopy.c

11 lines
168 B
C
Raw Normal View History

2007-04-25 02:26:05 +02:00
// 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;
}