☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2007-04-24-VolatileStructCopy.c
☽
☼
clang/test/CodeGen/2007-04-24-VolatileStructCopy.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
// PR1352
3
4
struct foo {
5
int x;
6
};
7
8
void copy(volatile struct foo *p, struct foo *q) {
9
// CHECK: call void @llvm.memcpy
10
*p = *q;
11
}