Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
b5b2ccbbb69f49146d937e1dc6d7dc11d631908c
/
.
/
test
/
CodeGenCXX
/
copy-constructor-synthesis-2.cpp
blob: 4d40372a56b6cbddfa92defa539f3a43667b8f6d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
struct
A
{
virtual
void
a
();
};
A x
(
A
&
y
)
{
return
y
;
}
// CHECK: define linkonce_odr void @_ZN1AC1ERKS_(
// CHECK: store i8** getelementptr inbounds ([0 x i8*]* @_ZTV1A, i64 0, i64 2)