aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c
blob: a34f80d54e550fc51c5f6040a2a6ec1c8d412af3 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s

struct X { int V[10000]; };
struct X Global1, Global2;
void test(void) {
  // CHECK: llvm.memcpy
  Global2 = Global1;
}