blob: 3932406a5c9a4d0aa76ee3f4dc239968ce02d4ce [file] [log] [blame]
// RUN: %dragonegg -S %s -o - | FileCheck %s
// Check that the MRV code doesn't load from beyond the end of an alloca.
// XFAIL: i386, i486, i586, i686
struct Three { int a; int b; int c; };
struct Three foo(struct Three *p) {
return *p;
// CHECK: call void @llvm.memcpy
// CHECK-NOT: bitcast
}