2014-01-15 03:35:09 +08:00
|
|
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
|
2009-12-08 14:46:18 +08:00
|
|
|
|
|
|
|
struct A { virtual void a(); };
|
|
|
|
A x(A& y) { return y; }
|
|
|
|
|
2013-07-01 04:40:16 +08:00
|
|
|
// CHECK: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(%struct.A* {{.*}}%this, %struct.A*) unnamed_addr
|
2013-06-19 04:51:51 +08:00
|
|
|
// CHECK: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)
|