summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c
blob: 811ee8e3f64180274c6068a32bdaf3cfeba40abe (about) (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() {
  // CHECK: llvm.memcpy
  Global2 = Global1;
}