mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 06:16:05 +00:00

Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
8 lines
302 B
C
8 lines
302 B
C
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
|
|
struct A { char s, t, u, v; short a; };
|
|
// CHECK: %a = alloca %struct.A, align 2
|
|
// CHECK: %b = alloca %struct.A, align 2
|
|
// CHECK: call void @llvm.memcpy.p0.p0.{{.*}} align 2 {{.*}} align 2 {{.*}}, i1 false)
|
|
|
|
void q(void) { struct A a, b; a = b; }
|