android_mt6572_jiabo/external/clang/test/CodeGenCXX/virt-thunk-reference.cpp
2025-09-05 16:56:03 +08:00

7 lines
220 B
C++

// RUN: %clang_cc1 -emit-llvm-only %s
struct A { int a; virtual void aa(int&); };
struct B { int b; virtual void bb(int&); };
struct C : A,B { virtual void aa(int&), bb(int&); };
void C::aa(int&) {}
void C::bb(int&) {}