Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
82fc4bfa6f8ea35488b9038dd83d40766c3645cf
/
.
/
test
/
CodeGenCXX
/
virt-call-offsets.cpp
blob: 3eb6b5da7d0c1d1744073bb4570251ae13e43e67 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
struct
A
{
virtual
void
a
();
};
struct
B
:
A
{};
struct
C
:
B
{
virtual
void
a
();
};
void
(
C
::*
x
)()
=
&
C
::
a
;
// CHECK: @x = global %0 { i{{[0-9]+}} 1, i{{[0-9]+}} 0 }