Get rid of this horrible "benign race" by exploiting ManagedStatic to initialize
[oota-llvm.git] / test / FrontendC / 2007-04-24-VolatileStructCopy.c
1 // RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {volatile store}
2 // PR1352
3
4 struct foo {
5   int x;
6 };
7
8 void copy(volatile struct foo *p, struct foo *q) {
9   *p = *q;
10 }