blob: d028a28fdd675f93edd9e2b18f3f247e1ec2a87c [file] [log] [blame]
Stephen Linf7568822013-06-18 20:51:51 +00001// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
Eli Friedman77a259c2009-12-08 06:46:18 +00002
3struct A { virtual void a(); };
4A x(A& y) { return y; }
5
Stephen Lin3258abc2013-06-19 23:23:19 +00006// CHECK: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(%struct.A* %this, %struct.A*) unnamed_addr
Stephen Linf7568822013-06-18 20:51:51 +00007// CHECK: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)