blob: 5eeecce99d2954c71c4b5b84527623a8fcc20275 [file] [log] [blame]
Eric Christophera11d1292011-07-26 00:57:50 +00001// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2// PR1352
3
4struct foo {
5 int x;
6};
7
8void copy(volatile struct foo *p, struct foo *q) {
9 // CHECK: call void @llvm.memcpy
10 *p = *q;
11}