blob: 4765921f1d21102e90baa0a09038e3ea2106638e [file] [log] [blame]
Chris Lattner5fa4c432007-04-25 00:26:05 +00001// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {volatile store}
2// PR1352
3
4struct foo {
5 int x;
6};
7
8void copy(volatile struct foo *p, struct foo *q) {
9 *p = *q;
10}