xref: /llvm-project/clang/test/CodeGenCXX/tmp-md-nodes1.cpp (revision c5de4dd1eab00df76c1a68c5f397304ceacb71f2)
1 // REQUIRES: asserts
2 // RUN: %clang_cc1 -O0 -triple %itanium_abi_triple -debug-info-kind=limited -emit-llvm %s -o - | \
3 // RUN: FileCheck %s
4 
5 // This test simply checks that the varargs thunk is created. The failing test
6 // case asserts.
7 
8 struct Alpha {
9   virtual void bravo(...);
10 };
11 struct Charlie {
~CharlieCharlie12   virtual ~Charlie() {}
13 };
14 struct CharlieImpl : Charlie, Alpha {
bravoCharlieImpl15   void bravo(...) {}
16 } delta;
17 
18 // CHECK: define {{.*}} void @_ZThn{{[48]}}_N11CharlieImpl5bravoEz(
19