Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
07a57e0c0ff4a5ae8ca134f01c66aa17b1aaf0e9
/
.
/
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 }