blob: 4765921f1d21102e90baa0a09038e3ea2106638e [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +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}