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