blob: d028a28fdd675f93edd9e2b18f3f247e1ec2a87c [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +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
Eli Friedman41f1fd42011-06-13 22:51:21 +00006// CHECK: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(%struct.A* %this, %struct.A*) unnamed_addr
Anders Carlssonccd83d72010-03-24 16:42:11 +00007// CHECK: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)