Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2007-04-24-VolatileStructCopy.c
blob5eeecce99d2954c71c4b5b84527623a8fcc20275
1 // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2 // PR1352
4 struct foo {
5 int x;
6 };
8 void copy(volatile struct foo *p, struct foo *q) {
9 // CHECK: call void @llvm.memcpy
10 *p = *q;