copy-constructor-synthesis-2.cpp revision 77a259c6dbf582949af8a243b472c0c7faa373a6
1// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
2
3struct A { virtual void a(); };
4A x(A& y) { return y; }
5
6// CHECK: define linkonce_odr void @_ZN1AC1ERKS_(
7// CHECK: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)
8